httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea" <softw...@polin.it>
Subject Re: [users@httpd] redirecting to error page based on URL string
Date Tue, 11 Mar 2003 14:42:14 GMT
Hi,

yes it's possible:

Use something like this into an .htaccess file:

# Check if the query string contains guest=yes
RewriteCond %{QUERY_STRING} guest=yes [NC]
RewriteRule etc etc


~Andrea

----- Original Message -----
From: "Martin Hudec" <corwin@corwin.sk>
To: <users@httpd.apache.org>
Sent: Tuesday, March 11, 2003 16:21
Subject: [users@httpd] redirecting to error page based on URL string


> Hello all,
>
> is it possible to make redirection based on part of url to error page?
> url like www.something.com/index.php?room=xxx&guest=yes
> I want to look for that "guest".
>
> thanks for any help
>
> --
> Martin Hudec
> ----------------------------------
> :@: corwin@corwin.sk
> :w: http://www.corwin.sk
> :m: +421.907.303.393
>
> "In google non est, ergo non est."
> - unknown IRC operator
> ----------------------------------
>
> ---------------------------------------------------------------------
> 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