Re: htaccess help needed...

gabor <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1082444764.2817.0.camel@dubb>
On Mon, 2004-04-19 at 11:30, Wari Wahab wrote:
> gabor wrote:
> 
> >www.myaddress.net should be the page where you can see the blog...
> >
> >the problem is that i tried to modify the RewriteRule, but it didn't
> >help. can anyone tell me what RewriteRule i need? or maybe a different
> >(simpler) way to achieve what i want..
> >
> have no idea how mod_rewrite works (call me ignorant :), but this works 
> the way you want it to:
> 
> You need DirectoryIndex to point to your pyblosxom.cgi so that it starts 
> that up automatically, at least that's what I believe it does :)
> --------------------
> # Assuming blog is your pyblosxom.cgi renamed


hmmm, it is not...
my bypblosxom.cgi is in /cgi-bin/pyblosxom.cgi

can i simple replace blog with /cgi-bin/pyblosxom.cgi?
> DirectoryIndex blog
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^(.*)$ blog/$1 [L,QSA]
> 
> <Files blog>
>         SetHandler cgi-script
> </Files>

gabor



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.