PDA

View Full Version : Folders in web address case sensitive


tigerseyetech
28th May 2007, 21:35
Is there a way through ISPConfig to set up aliases for the folders used in a web address?

As of right now, they are case sensitive (www.example.com/Folder is not the same as www.example.com/folder)

Is there a way to set it up so that they both lead to the same place?

Thanks

volksman
28th May 2007, 21:46
I believe you can use the Alias directive in the Apache Directives field in the Site Setup...something like:

Alias /folder /Folder

You may need to play with the second path...the first is relative to the URI (so http://domain/folder) the second is where in the files system to re-direct traffic to so it may actually be something more like /var/www/web5/web/Folder not just /Folder.

Otherwise you can use Rewrite rules in the same place but you'd have to look them up as I don't know the syntax by heart...

Hope that helps!

tigerseyetech
29th May 2007, 01:06
I'll probably just do the alias if I can figure it out. Thank you very much!

tigerseyetech
29th May 2007, 01:12
the alias works great using full path for the second folder option!

once again, thank you very much