httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Ward (darrward)" <darrw...@cisco.com>
Subject RE: [users@httpd] Rewrite all to DocRoot
Date Fri, 14 Feb 2014 01:53:03 GMT
I just realised that I need to exclude the perl directory so I can runs scripts in the index.html?

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com] 
Sent: Friday, 14 February 2014 12:12 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Rewrite all to DocRoot

> On each of these virtual hosts I want a request for any URI to be sent to the document
root default (/index.html or just /)
>
> What the best way to do this per virtual host?

I usually use:

AliasMatch ^(.*)$ /fspath/to/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message