Re: [users@httpd] question about mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 12, 2005 5:40 AM, Zouari Fourat <fourat@xxxxxxxxx> wrote:
> Hello,
> When making updates on my server i put these lines in my apache conf :
> 
> RewriteEngine   on
> RewriteRule     ^.*$            /maintenance.html [L]
> 
> it redirect all queries to the maintenance.html file wich indicates
> that the site is under construction.
> now i want to tune this to redirect only certain queries, i want to
> redirect all queries that want to get this url range :
> http://myserver/apps/* -> /maintenance.html
> 
> is there anyone who can help me outta there ?
> thanks very much

RewriteRule     ^/apps.*$            /maintenance.html [L]

Joshua.

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux