> -----Original Message----- > From: Tony Heal [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 10:41 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] rewrite not working > > I am trying to use rewrite
To do what? Give example of input URL and desired output URL. > and it is not working. In what way? What do you want to happen, what actaully happens? > I have a > debian sarge system. Here are the pertinent facts from the > conf file and error log. If I remove the <Driectory> block > the systems works fine. It is far from clear what you are trying to achieve and what effects you are seeing. The error message may or may not be connected to the problem, but since the problem is under-defined, it's not possible to say if it's relevant. Other tips: - put "RewriteEngine on" before any other rewrite directives - keep it simple to start with; do you really need to invoke symlinks right away? Try to get it "working" with static files before folding in additional complications. - ditto for "Deny from env=anonymous_spider" Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > I know I am missing something but not sure what. > > > > ii apache 1.3.33-6sarge2 versatile, high-performance > HTTP server > > ii apache-common 1.3.33-6sarge2 support files for all > Apache webservers > > ii apache2-utils 2.0.54-5sarge1 utility programs for webservers > > > > Alias /twiki/ "/var/www/twiki/" > > BrowserMatchNoCase ^$ anonymous_spider > > <Directory "/var/www/twiki/"> > > Options +FollowSymLinks > > DirectoryIndex index.html > > RewriteRule /index\.html /bin/view [R] > > RewriteEngine on > > Order Allow,Deny > > Allow from all > > Deny from env=anonymous_spider > > </Directory> > > > > [Wed Oct 4 15:15:39 2006] [error] [client 192.168.2.102] > Options FollowSymLinks or SymLinksIfOwnerMatch is off which > implies that RewriteRule directive is forbidden: > /var/www/twiki/pub/TWiki/PatternSkin/background_input.gif > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]