httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikos Gatsis <ni...@qbit.gr>
Subject [users@httpd] Mod_rewrite problem - SOLVED
Date Tue, 25 Nov 2003 22:05:31 GMT
Thanx anyone for help

I solved it restrict rewrite rule in DocumentRoot's directory

...
<Directory /home/http/nikos/horc>
RewriteEngine On
RewriteRule ^/atricles/([^/]+)/([^/]+)/([^/]+)\.html$ /contents/profil.htm
[R]
</Directory>
....

Wouter I need [R] because I have request for unknown files in /articles...
directory, so I redirect them to a particular file
Now everything is fne

Thanx again

<VirtualHost 193.58.186.229>
> >     ServerAdmin nikos@qbit.gr
> >     DocumentRoot /home/http/nikos/horc
> >         RewriteEngine On
> >         RewriteRule ^/atricles/([^/]+)/([^/]+)/([^/]+)\.html$
> > /contents/profil.htm [R]
> >     <Directory /home/http/nikos/horc/contents/files>
> >         Options None
> >     </Directory>
> >     ServerName www.horc.gr
> >     ErrorLog /home/http/nikos/horc/horc_error_log
> >     CustomLog /home/http/nikos/horc/horc_access_log common
> >         RewriteLogLevel 1
> >         RewriteLog /home/http/nikos/horc/rewrite_log
> > </VirtualHost>


---------------------------------------------------------------------
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