404 errors & The URI you submitted has disallowed characters. on non CI pages - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: 404 errors & The URI you submitted has disallowed characters. on non CI pages (/showthread.php?tid=22281) |
404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]Scott Boyde[/eluser] I am getting quite a lot of these messages on my forum (vbulletin) and some other non CI pages. Not sure what the cause of this is but I thought I would has in case some one else has came across. One thing I thought it might be is my .htaccess but not sure. Code: #--- DH-PHP handlers --- 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]BrianDHall[/eluser] It sounds like it must be something related to your .htaccess file - here's mine, you might try it: Code: RewriteEngine on Obviously you'll need to add the directories/files that aren't CI. See if this makes any difference at all. I'm afraid I don't even fully understand modrewrite, I just kept trying different code snippits until I got one that worked for me 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]Scott Boyde[/eluser] get No input file specified. when I try that. 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]Scott Boyde[/eluser] The unfortunate thing for me at the moment is I cannot replicate the 404 problems, I do get the uri myself from time to time. 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]Mareshal[/eluser] RewriteEngine On RewriteBase / RewriteCond $1 !^(index\.php|images|stylesheets|javascript) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] Why do I think you forgot about rewrite base / 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]bretticus[/eluser] Why RewriteCond $1 !^(index\.php|images|stylesheets|javascript) ? Doesn't: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d exclude real files and folders from being rewritten already? 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]Mareshal[/eluser] mine is working well 404 errors & The URI you submitted has disallowed characters. on non CI pages - El Forum - 09-03-2009 [eluser]bretticus[/eluser] [quote author="Mareshal" date="1252017691"]mine is working well [/quote] Haha, I'm sure it is. I think perhaps it may be redundant though. |