[EMAIL PROTECTED] mod_vhost_alias 404 / ErrorDocument

2008-09-04 Thread Graham Clarke
Hi - I'd like to setup a meaningful error page for a virtual host that uses mod_vhost_alias. If a visitor enters a url that doesn't exist on the server they're served a custom error page. Here's a simple example: The vhost has: VirtualDocumentRoot /var/www/html/customer/%1 Requests for

Re: [EMAIL PROTECTED] mod_vhost_alias 404 / ErrorDocument

2008-09-04 Thread Dragon
Graham Clarke did speak thusly: Hi - I'd like to setup a meaningful error page for a virtual host that uses mod_vhost_alias. If a visitor enters a url that doesn't exist on the server they're served a custom error page. Here's a simple example: The vhost has: VirtualDocumentRoot

Re: [EMAIL PROTECTED] mod_vhost_alias 404 / ErrorDocument

2008-09-04 Thread Graham Clarke
mod_vhost_alias takes the requested URL and matches a directory on the server. The point of using mod_vhost_alias is so you don't have to create vritual host record for each site on your server. my domain is setup as a wildcard domain, so *.mydomain.com will not produce a DNS error. Graham

Re: [EMAIL PROTECTED] mod_vhost_alias 404 / ErrorDocument

2008-09-04 Thread Dragon
Graham Clarke did speak thusly: mod_vhost_alias takes the requested URL and matches a directory on the server. The point of using mod_vhost_alias is so you don't have to create vritual host record for each site on your server. my domain is setup as a wildcard domain, so *.mydomain.com will

[EMAIL PROTECTED] mod_vhost_alias custom error

2008-08-04 Thread Graham Clarke
Hi - I'm using mod_vhost_alias and am having a difficult time getting the right error to display if a site is not found on the server. Here's an example: User types sitea.mydomain.com in their browser. Apache mod_vhost_alias looks for sitea but can't find it. How do I display an

Re: [EMAIL PROTECTED] mod_vhost_alias

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 9:55 AM, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I've compiled Apache 1.3.37 with mod_vhost_alias: # ./configure --enable-module=vhost_alias --enable-shared=vhost_alias I have: AddModule mod_vhost_alias.c in my httpd.conf, but Apache won't start, it says:

Re: [EMAIL PROTECTED] mod_vhost_alias

2008-04-30 Thread Mário Gamito
Thanks, that's it :) Warm Regardsw, Mário Gamito On Wed, Apr 30, 2008 at 3:06 PM, Joshua Slive [EMAIL PROTECTED] wrote: On Wed, Apr 30, 2008 at 9:55 AM, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I've compiled Apache 1.3.37 with mod_vhost_alias: # ./configure

[EMAIL PROTECTED] mod_vhost_alias conflicting with VirtualHost containers

2007-10-08 Thread pavel . stratil-jun
Hi people, I have a problem with mod_vhost_alias conflicting with VirtualHost containers. This is the relevant part of my conf Listen 127.0.0.1:80 Listen 127.0.0.1:443 UseCanonicalName Off Directory /var/www/localhost/htdocs Options FollowSymLinks AllowOverride All Order allow,deny

[EMAIL PROTECTED] mod_vhost_alias and mod_rewrite working together

2007-08-15 Thread Marko Hrastovec
Hi! I filed in the bug report number 43128 (http://issues.apache.org/bugzilla/show_bug.cgi?id=43128) and I was redirected to this list to get help although I still think this is bug and should be fixed. Here is what bothers me. We are using rewrite rules on PHP sites to simulate user friendly

RE: [EMAIL PROTECTED] mod_vhost_alias and mod_rewrite working together

2007-08-15 Thread Marko Hrastovec
] Sent: Wednesday, August 15, 2007 10:45 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] mod_vhost_alias and mod_rewrite working together Hi! I filed in the bug report number 43128 (http://issues.apache.org/bugzilla/show_bug.cgi?id=43128) and I was redirected to this list to get help

[EMAIL PROTECTED] mod_vhost_alias dynamic configuration of other variables

2006-07-06 Thread Roel van Meer
Hi list, I'm using mod_vhost_alias for dynamic virtual hosting. I would like to add some configuration statements whose value should be based on the virtual host that is actually being accessed. More precisely: I would like to use the value of VirtualDocumentRoot as value for another

Re: [EMAIL PROTECTED] mod_vhost_alias dynamic configuration of other variables

2006-07-06 Thread Joshua Slive
On 7/6/06, Roel van Meer [EMAIL PROTECTED] wrote: Hi list, I'm using mod_vhost_alias for dynamic virtual hosting. I would like to add some configuration statements whose value should be based on the virtual host that is actually being accessed. More precisely: I would like to use the value of

[EMAIL PROTECTED] mod_vhost_alias

2006-07-02 Thread Neo Wee Teck
Hi, I just notice some problems when using mod_vhost_alias It seems that when using VirtualDocumentRoot, the variable DocumentRoot in PHP got mixed up Server Global DocumentRoot /var/www/htdocs Inside VirtualHost VirtualDocumentRoot /var/www/vhost/%0/htdocs When I run a phpinfo script,