3 messages in ru.sysoev.nginxRe: error_page and virtual hosts
FromSent OnAttachments
Drazen MilosevicMar 24, 2008 8:16 am 
Drew RainesMar 24, 2008 8:42 am 
Drazen MilosevicMar 25, 2008 1:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: error_page and virtual hostsActions...
From:Drazen Milosevic (dmil@public.gmane.org)
Date:Mar 25, 2008 1:23:23 am
List:ru.sysoev.nginx

On Monday 24 March 2008 16:43:21 Drew Raines wrote:

Drazen Milosevic wrote:

These error_page directives are set individualy in every virtual host, but I was hoping there was a more ellegant solution. ?

Have you seen the wildcard example here?

http://wiki.codemongers.com/NginxVirtualHostExample

This doesn't work for me because I am migrating existing Apache setup to Nginx and I have some "predefined" things such as paths to webroot directories for each virtual host. And unfortunatly they are not in form of /PATH/TO/WEBROOT/www.domain.com/ but as /PATH/TO/WEBROOT/ftp_username/

--------  19, Alekse Nenadovica Street, Belgrade, Serbia  IT - IT Platforms and Security Department  Senior System Administrator