
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Debian/etch3, apache2, mod_rewrite
- Date: Thu, 12 Jul 2007 23:49:30 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: [tlug] Debian/etch3, apache2, mod_rewrite
Hi all,
This took me more than 3 hours. Still no luck.
My server running
Apache/2.2.3 (Debian) PHP/4.4.4-8+etch3,
with mod_rewrite enabled ( confirmed by viewing phpinfo(); )
Server root is /var/www
/etc/apache2/apache.conf contains:
<Directory />
Options All
#FollowSymLinks
AllowOverride All
#None
</Directory>
Then,
echo "<? phpinfo(); ?>" > /var/www/stagly/x115.php
cat /var/www/stagly/.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule x125 x115.php [L]
Results:
http://server/stagly/115 can be opend and redirected to x115.php
http://server/stagly/125 can *NOT* be opend ( 404 error )
Any ideas? Is there anything wrong with rulesets? Versions of
apache/mod_rewrite do matter in this case?
--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/
Home |
Main Index |
Thread Index