From: Igor Galić <[email protected]>

> I'd use mod_macro for that:
>   http://www.cri.ensmp.fr/~coelho/mod_macro/
> <Macro SSLVhost $name
> <VirtualHost *:443>
>   ServerName $name
>   DocumentRoot /srv/web/$name
>   SSLStuff /some/place/$name
>   ErrorDocument 404 http://$name/not404
> </VirtualHost>
> </Macro>

mod_macro looks nice; but I do not think it would solve my problem.
Using ErrorDocument would only work if I could use a variable holding the 
requested URI...
  ErrorDocument 404 http://host/%{REQUEST_URI}
I think that the only solution with ErrorDocument would be calling a script 
that would return a 301

Thx,
JD

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to