THE BORE
General => The Superdeep Borehole => Topic started by: GilloD on February 11, 2010, 12:27:44 AM
-
I'm trying to do a quick test with mod_rewrite in XAMPP, but I can't seem to get Apache to pay attention. I popped into Apache/conf/httpd.conf and uncommented the "LoadModule rewrite_module modules/mod_rewrite.so" and swapped AllowOverride to All.
I then popped a .htaccess file into root. It reads as such,
RewriteEngine on
RewriteBase /ModReWriteDemos
RewriteRule ^alice.html$ bob.html
for the URL: http://127.0.0.1/ModReWriteDemos/alice.html
Some users experienced trouble without the RewriteBase, but it doesn't work for me either way. What am I missing?
-
I have no idea what I'm missing. I dug up 11 tutorials that all tell me the same thing. phpinfo() says mod_rewrite is enabled. I've triple checked my spelling and syntax. .htaccess is in root.
There was no prior .htaccess in the default XAMPP install, so I created one. That shouldn't be an issue, right? Ughghghg
-
Fuuu. Solved.
I was doing it on a Korean machine and it was treating it like a .txt file but I couldn't tell because my Korean is bad. Fixed.
-
Man, for a moment there I thought you somehow ended up at your old job again.
-
Man, for a moment there I thought you somehow ended up at your old job again.
Seconded :lol
Aren't you supposed to be teaching lil' Korean bastards english?
My wife and I started this project. Its a long story. I'll discuss it more when it's almost finished,