Code Igniter blocking access to /cgi-bin - 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: Code Igniter blocking access to /cgi-bin (/showthread.php?tid=6727) Pages:
1
2
|
Code Igniter blocking access to /cgi-bin - El Forum - 03-12-2008 [eluser]yello[/eluser] again, not working... I really don't know what's up... maybe it's a problem with my host (hostgator)? Code Igniter blocking access to /cgi-bin - El Forum - 03-12-2008 [eluser]Techie-Micheal[/eluser] Hmmm. I'll give it a go. Actually, might as well right now since I'll probably forget later. Edit: I can't right now, because my host does things a little differently ... They don't actually have a cgi-bin. Kinda funky. Code Igniter blocking access to /cgi-bin - El Forum - 03-12-2008 [eluser]Symcrapico[/eluser] Yello, did you get it working? Ive encountered the exact same problem today. Ive tried every solutions mentionned in this thread and none seem ed to be working! If you got it working, please let us know here. Thanks S Code Igniter blocking access to /cgi-bin - El Forum - 03-12-2008 [eluser]Techie-Micheal[/eluser] Well, let's think about this. Basically the only thing that sets cgi-bin apart from other directories is that it has ExecCGI enabled on it (which enables perl/python/ruby/etc.), right? Code Igniter blocking access to /cgi-bin - El Forum - 03-13-2008 [eluser]Symcrapico[/eluser] I've looked at the httpd.conf file on my dedicated server (WHM) and I think this might be the problem: Quote:<Directory "/usr/local/apache/cgi-bin"> Maybe the AllowOverride None has something to do with it, but I dont think so since I commented it out and restarted apache and didnt changed a thing. I also try AllowOverride all, didnt worked either. Please someone help us with that...I badly need to get it working! Code Igniter blocking access to /cgi-bin - El Forum - 03-13-2008 [eluser]Techie-Micheal[/eluser] [quote author="Symcrapico" date="1205471793"]I've looked at the httpd.conf file on my dedicated server (WHM) and I think this might be the problem: Quote:<Directory "/usr/local/apache/cgi-bin"> Maybe the AllowOverride None has something to do with it, but I dont think so since I commented it out and restarted apache and didnt changed a thing. I also try AllowOverride all, didnt worked either. Please someone help us with that...I badly need to get it working![/quote] Sorry, but I don't have access to a server with this kind of setup right now. Code Igniter blocking access to /cgi-bin - El Forum - 03-13-2008 [eluser]Techie-Micheal[/eluser] Okay, I setup a quick environment on my local machine, but it is running Windows. So, here's what the directory structure looks like. Code: vhosts/local.michealcottingham.com/ Simple enough. Here's my relevant Apache config: Code: # local.michealcottingham.com Here's my .htaccess file: Code: RewriteEngine On And cgi-bin works. o_O Code Igniter blocking access to /cgi-bin - El Forum - 03-13-2008 [eluser]Techie-Micheal[/eluser] Ah ha! Found a misconfiguration in my setup (not sure how it was working, but eh). I'm now able to reproduce the problem. Code Igniter blocking access to /cgi-bin - El Forum - 03-13-2008 [eluser]Techie-Micheal[/eluser] And now it works. I'm too tired. I'm not sure what I've done. I'll try and take a look at it again tomorrow. Code Igniter blocking access to /cgi-bin - El Forum - 03-23-2008 [eluser]Référencement Google[/eluser] I came with the same issue on a webserver. I solved it using a rule before all my rewrite conditions: Code: ErrorDocument 401 index.php This is originally a wordpress issue too, you can see here: http://wordpress.org/support/topic/89515 Hope this have helped some people ! |