homepage Welcome to WebmasterWorld Guest from 54.235.16.159
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache on Win2k
DrDoc




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

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?

 

DrDoc




msg:1509409
 3:49 am on Apr 30, 2003 (gmt 0)

I initially tried this, but without success...

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

DrDoc




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

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?

DaveAtIFG




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved