Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache on Win2k

   
2:55 am on Apr 30, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I want to configure apache to handle "fake" userdir requests. For example, I have a certain site in a project folder called "example.com". It's located in the root folder. What should I do to make it so that localhost/~example.com will bring up the subfolder as root?
3:49 am on Apr 30, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I initially tried this, but without success...

AliasMatch ^/~([^/]*) /$1

3:44 am on May 1, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The reason I want to do this is so certain paths will still work. For example, certain dynamically created pages use the root as reference for images, CSS, etc. If I edit the httpd.conf to use the subdirectory as root, then the paths work. But there must be a way of getting them to work anyway, right?

Or, is there a way I could set up some form of virtual "hosting" for my subfolders?

5:47 pm on May 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think this thread [webmasterworld.com] will do it for you DrDoc.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month