Look in the Apache manual at the section on mod_rewrite.

- Tim

On Tue, 2001-09-11 at 05:58, Andrew Perevodchik wrote:
> I have the DNS alias on my server for "*" (which
> means any name). So that any requests for
> http://anyname.my.host are recieved by one virtual
> server. I need to make apache return
> /anyname/files/example.txt rather than
> /files/example.txt (which is actually requested).
> "anyname" depends on the user's request.
> 
> I have tried to catch the requested name of
> server, and add it to $DOCUMENT_ROOT variable. It
> changed as I expected it to, but still
> /files/example.txt is returned. I've also tried to
> use setenv() -- the same result.
> 
> Is there any way to do this kind of trick?
> 
> -- 
> Andrew Perevodchik
> [EMAIL PROTECTED]
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to