[thelist] Steps towards permanent URL's

Keith Underdown keith.underdown at qconsultancy.co.uk
Mon Sep 29 11:01:46 CDT 2003


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
-- 
Keith Underdown (Managing Director)
The Q Consultancy Ltd
KALIDO Information Archtectures Specialists
+44 7798 934782
www.qconsultancy.co.uk


More information about the thelist mailing list