Welcome Guest, Not a member yet? Register   Sign In
[ask]cgi-bin, perl, htaccess problem
#1

[eluser]yohanip[/eluser]
Dear kind CodeIgniter community
i had a webhosting account which allow me to execute perl scripts through the cgi-bin folder

simply by typing
Code:
http://example.com/cgi-bin/some_script.pl

and the perl program will execute

but when i combine it with CI i had the problem
everytime i access the
Code:
http://example.com/cgi-bin/some_script.pl
CI will generate 404 Page Not Found Sad

here is my htaccess config :
Code:
Options +FollowSymLinks

ErrorDocument 401 index.php

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|cgi-bin|css|js|assets|development)
RewriteRule ^(.*)$ /index.php/$1 [L]

when i erase the htaccess file, then the problem gone, but i need to get the "index.php" not visible to the users

any help would be greatly appreciated! Smile

Thank you very much for your time investigating this
#2

[eluser]yohanip[/eluser]
adding another note Smile
the cgi-bin folder is under the public_html folder
#3

[eluser]Unknown[/eluser]
I realize this is an old post, but I'm having the exact same trouble. Did you ever figure out the solution?




Theme © iAndrew 2016 - Forum software by © MyBB