Code Igniter blocking access to /cgi-bin |
[eluser]yello[/eluser]
again, not working... I really don't know what's up... maybe it's a problem with my host (hostgator)?
[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.
[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
[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?
[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!
[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.
[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
[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.
[eluser]Techie-Micheal[/eluser]
And now it works. I'm too tired. I'm not sure what I've done. ![]()
[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 ! |
Welcome Guest, Not a member yet? Register Sign In |