rewrite

  1. S

    Whats up with the rewrite engine????

    Im trying to add some rules to httpd.conf and it doesnt work. RewriteEngine On RewriteRule /robots\.txt$ /var/www/cgi-bin/robots.pl [L,T=application/x-httpd-cgi] RewriteMap robots txt:/usr/local/apache/htdocs/.robots RewriteCond ${robots:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND...
  2. A

    rewrite engine - sub domains / directories

    Im trying to get this to work http://domain.com/members/USER to become http://USER.domain.com i got the code below but it doesnt work, i also added a wild card to dns. All i get is the apache page. The only way we got this to work is with http://www.domain.com, in that case it...
  3. K

    Rewrite Engine doesn't work

    On my box seems to don't work RewriteEngine (not in .htaccess not in httpd.conf). I'm using apache from last buildapache.sea build (Oct 16 18:46) with enabled Rewrite module option. in httpd.conf is present: LoadModule rewrite_module libexec/mod_rewrite.so and AddModule...