inherit
46457
0
Sept 15, 2020 4:22:02 GMT -8
Austen
Hi
8,015
June 2005
austendale
|
Post by Austen on Aug 11, 2011 6:19:53 GMT -8
RewriteBase / RewriteEngine On RewriteRule ^([^/]*)$ /shoutboxtemplate.php?box=$1 [L] Not working and resulting in a 500 Internal error Any heeeelp?
|
|
inherit
39608
0
Nov 26, 2011 18:53:00 GMT -8
iDunk
Previously Computerpros
2,533
April 2005
computerpros
|
Post by iDunk on Aug 12, 2011 19:47:13 GMT -8
Any error 500s should show up in your Apache error log (assuming you're using Apache). Other than that, I dunno what to tell you because I'm not entirely familiar with Mod Rewrites.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 13, 2011 15:18:06 GMT -8
I'm not the greatest at deciphering RegEx, what are you trying to get at exactly?
You also need Options +SymLinks before RewriteBase /
|
|
inherit
46457
0
Sept 15, 2020 4:22:02 GMT -8
Austen
Hi
8,015
June 2005
austendale
|
Post by Austen on Aug 14, 2011 1:03:17 GMT -8
iPokemon, tried that before and it made it worse =/ I fixed it, nevertheless
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 14, 2011 3:46:45 GMT -8
The problem is you're creating an infinite loop with your redirect here: Try something like: RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]*)$ /shoutboxtemplate.php?box=$1 [L] To be honest, you should probably narrow your RegEx down a bit to only match alphanumeric strings so that this problem is slightly more resolved: [a-z0-9]+
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Aug 14, 2011 9:37:30 GMT -8
iPokemon, tried that before and it made it worse =/ I fixed it, nevertheless That's not what is making it worse, that's just a simple starter And usually, it's the coder's fault for not making something work, not the processor itself
|
|
inherit
109382
0
Jan 6, 2019 9:03:49 GMT -8
uzi
1,756
August 2007
uzi
|
Post by uzi on Aug 14, 2011 16:50:18 GMT -8
Try what Wrighty said, that's almost definitely your error. Make sure mod_rewrite is enabled in httpd.conf and check your Apache error log for timestamped info about errors.
You don't really need to narrow your regexp, something as broad as ^(.*)$ works fine. Solve the cause and not the symptoms and you are better off.
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Aug 31, 2011 21:52:11 GMT -8
|
|