httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <...@burden.ca>
Subject Re: [users@httpd] Single file to be served irrespective of the url
Date Fri, 07 May 2004 16:28:46 GMT
Hi Chris,

That one looks interesting. Is it better than the mod_rewrite option? And,
is there an easy way to make it NOT apply to certain files, as in

RewriteEngine on
RewriteCond %{REQUEST_URI} !/photo.php
RewriteRule .* index.php

----- Original Message ----- 
From: "Chris" <listschris@leftbrained.org>
To: <users@httpd.apache.org>
Sent: Friday, May 07, 2004 11:20 AM
Subject: RE: [users@httpd] Single file to be served irrespective of the url


> AliasMatch  ^(.*)$ /usr/local/apache/htdocs/catalog.html
>
> Is what I would use, I *definitely* wouldn't try to use the ErrorDocument,
> since those send Error headers as well.
>
> Chris
>
> -----Original Message-----
> From: mseethar [mailto:mseethar@employees.org]
> Sent: Friday, May 07, 2004 4:15 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Single file to be served irrespective of the url
>
>
> Hi folks,
> I have a requirement to configure the apache to serve a file
> called catalog.html, irrespective of the url that is being requested.
> Could somebody help me out how to do this?
>
> Thanks,
>   - Madhu
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message