![]() |
Problem with forward slash at the end of url, help please. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem with forward slash at the end of url, help please. (/showthread.php?tid=18612) |
Problem with forward slash at the end of url, help please. - El Forum - 05-12-2009 [eluser]NachoF[/eluser] Hey guys... the webhost Im using has very old apache1.3+php4 server... Im getting a Bad request error...it happens when I add the .htaccess file that works fine on my localhost Code: Options +FollowSymLinks The error is when I try to access the site that its on a subfolder inside the html folder... but in the html folder theres already a different .htacess file that was there before... heres that one. Code: # -FrontPage- I havent a clue about this stuff.... any help is appreciated. Problem with forward slash at the end of url, help please. - El Forum - 05-12-2009 [eluser]TheFuzzy0ne[/eluser] I'm more interested in the URL you're trying to access. I think it tends to happen when an encoded forward slash is parsed, or if you have two consecutive forward slashes in your URL. I don't think the htaccess is directly to blame as such. Problem with forward slash at the end of url, help please. - El Forum - 05-12-2009 [eluser]NachoF[/eluser] Nevermind... it stopped happening.... very weird. Problem with forward slash at the end of url, help please. - El Forum - 05-13-2009 [eluser]NachoF[/eluser] Ok... it happens when I dont include the forward slash in the address Code: http://www.mysite.com/appfolder/ but Code: http://www.mysite.com/appfolder How can I fix this?f Problem with forward slash at the end of url, help please. - El Forum - 05-13-2009 [eluser]NachoF[/eluser] Quote:I’m more interested in the URL you’re trying to access. I think it tends to happen when an encoded forward slash is parsed, or if you have two consecutive forward slashes in your URL. I don’t think the htaccess is directly to blame as such. Well, it happens when I dont add the forward slash at the end of the address.... but, if I remove the forward slash it'll automatically add it and work...but I need to htaccess file cause I dont want index.php showing up on every address. Problem with forward slash at the end of url, help please. - El Forum - 05-13-2009 [eluser]Dam1an[/eluser] I've seen this a few times on the forum, but can't remember what the solution was Do a quick search, and you might find something Problem with forward slash at the end of url, help please. - El Forum - 05-13-2009 [eluser]NachoF[/eluser] [quote author="Dam1an" date="1242260174"]I've seen this a few times on the forum, but can't remember what the solution was Do a quick search, and you might find something[/quote] I cant find anyone with the same problem... Im sure its got something to do with the htaccess file cause when I remove it the slash get automatically added. Problem with forward slash at the end of url, help please. - El Forum - 05-14-2009 [eluser]NachoF[/eluser] Wow, I cant believe I havent found the answer to this yet.... maybe I should try message boards directly related to apache? |