[thelist] Steps towards permanent URL's
Raditha Dissanayake
jabber at raditha.com
Mon Sep 29 11:38:26 CDT 2003
Hi,
.htaccess will not work if your main httpd.conf has the following directive.
AllowOverride none
and httpd.conf files usually do have this directive.
Keith Underdown wrote:
> Hi There
>
> I am try to move to permanent URLS but the Apache learning curve is
> pretty big and many of the articles written don't mean much to me.
>
> So far I have added a .htaccess file to my root directory containing:
>
> DirectoryIndex index
>
> As I understand it this telling Apache that if somebody tries to
> access a file called index with no extension then it looks for
> instances ov index.*, picks the best one and tells the browser to
> treat it in the way implied by the extension. In my case I have
> index.php. When I tried this locally it worked fine and invoked
> index.php. So I could hide the technology.
>
> I uploaded the .htaccess file to my site and it is not having the same
> effect, www.qconsultancy.co.uk gives me a directory listing for the
> site (highly undesirable), www.qconsultancy.co.uk/index gives me a 404
> not found error, only www.qconsultancy.co.uk/index.php works.
>
> So that's one problem, what's different about the way my ISP has
> Apache set up by default?
>
> This is but the first step on a long quest so I'd be grateful for your
> help!
>
> Keith
--
http://www.radinks.com/upload
Drag and Drop File Uploader.
More information about the thelist
mailing list