- Messages
- 3,819
- Reaction score
- 163
- Points
- 63
Hey y'all,
I'm using mod_rewrite in apache, and I can't seem to get this code to work. FreeNode was unhelpful as usual, seeing as they're all full of themselves and think they know everything and are just plain a pain in the butt.
Anyways: Here's my code.
Mod_rewrite is enabled (a2enmod rewrite), and I'm logging it to /var/log/apache2/rewrite.log (at RewriteLogLevel 9):
Nothing's in the log file.
Basically, that script should just take file.php, and make it just file. (in the browser.
Link is: http://bakon.neilhanlon.com/vizoxidy/index.php
I'm using mod_rewrite in apache, and I can't seem to get this code to work. FreeNode was unhelpful as usual, seeing as they're all full of themselves and think they know everything and are just plain a pain in the butt.
Anyways: Here's my code.
Mod_rewrite is enabled (a2enmod rewrite), and I'm logging it to /var/log/apache2/rewrite.log (at RewriteLogLevel 9):
Code:
Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Nothing's in the log file.
Basically, that script should just take file.php, and make it just file. (in the browser.
Link is: http://bakon.neilhanlon.com/vizoxidy/index.php