search for: reuqest_uri

Displaying 4 results from an estimated 4 matches for "reuqest_uri".

Did you mean: request_uri
2016 May 28
2
CentOS 6.8 Apache-2.2.15-53 re-write question
...exander Dalloz wrote: > Am 28.05.2016 um 21:03 schrieb Paul R. Ganci: >> Starting httpd: Syntax error on line 31 of >> /etc/httpd/conf.d/olddomain.conf: >> RewriteCond: bad argument line '%{REQUEST_URI}!^/test/ > > You missed a whitespace between the server variable %{REUQEST_URI} and > the value you test against. In both cases you did. And you probly want > a trailing [OR] parameter. See > > https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond I did the suggested changes and indeed the syntax error goes away but the code does not work. The red...
2016 May 28
5
CentOS 6.8 Apache-2.2.15-53 re-write question
I was wondering if somebody could help me with an Apache re-write rule. Apparently CentOS 6.8 is running apache-2.2.15-53. I am trying to redirect all pages except for two pages. The apache rewrite directives in the httpd config are: RewriteEngine on RewriteCond %{REQUEST_URI}!^/test/ RewriteCond %{REQUEST_URI}!^/my-folder/ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] These commands
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
...place these commands into the the httpd config > apache spits out this error message: > > Starting httpd: Syntax error on line 31 of > /etc/httpd/conf.d/olddomain.conf: > RewriteCond: bad argument line '%{REQUEST_URI}!^/test/ You missed a whitespace between the server variable %{REUQEST_URI} and the value you test against. In both cases you did. And you probly want a trailing [OR] parameter. See https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond > I have of course renamed the real config parameters. Can somebody tell > me if these directives only work in apac...
2016 May 28
0
CentOS 6.8 Apache-2.2.15-53 re-write question
...t;> Am 28.05.2016 um 21:03 schrieb Paul R. Ganci: >>> Starting httpd: Syntax error on line 31 of >>> /etc/httpd/conf.d/olddomain.conf: >>> RewriteCond: bad argument line '%{REQUEST_URI}!^/test/ >> >> You missed a whitespace between the server variable %{REUQEST_URI} and >> the value you test against. In both cases you did. And you probly want >> a trailing [OR] parameter. See >> >> https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond > I did the suggested changes and indeed the syntax error goes away but > the code...