Forum Moderators: coopster & phranque

Message Too Old, No Replies

Options FollowSymLinks or SymLinksIfOwnerMatch

is it a host problem?

         

redwing

5:10 pm on Mar 9, 2002 (gmt 0)



Hi

I keep getting this error when using .pl but not when using .cgi:

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden

Front Page is not enabled

What I would like to know is if the error is a host side problem or can this problem be solved by putting "Options FollowSymLinks or SymLinksIfOwnerMatch" in the .htaccess file, if so where, I tried everything?

op:linux
perl:5.006
apache:1.3.22 (unix)

Thank You

Brett_Tabke

1:56 pm on Mar 11, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Welcome to the forums. Sounds like .cgi is setup to run under the server process/group owner only. I don't think there is anything you can do without changing the group that the server is running as. (anyone confirm?)

gethan

2:38 pm on Mar 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi redwing,

Sorry not to try answer earlier - but I've never seen that error before. What I suggest trying is:

Put in your .htaccess

RewriteEngine Off
AddHandler cgi-script pl

Bit of a wild stab but might help you get a little further.

redwing

5:41 pm on Mar 11, 2002 (gmt 0)



Thanks for the help 8-)

I tried the "Rewrite off" and no go.. :-(

I'm being told this problem is only happening to me and I'm unable to fix it..

Thanks for all the help..

gethan

5:50 pm on Mar 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you need to use .pl extensions? If so you could rename all to .cgi and use mod_rewrite to redirect all incoming requests for .pl's to .cgi files - seamlessly.

.htaccess

RewriteEngine On
RewriteRule ^(.*)\.pl(?.*)$ $1.cgi$2 [L]

Should do it.

Brett_Tabke

5:53 pm on Mar 11, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



That's why I was thinking the FollowSymLinks error message was bogus, because the group that he is trying to run .pl's under isn't setup to do that. I've seen this exact situation before and I can't remember what we did to fix it.

redwing

9:54 pm on Mar 11, 2002 (gmt 0)



Thanks for all the good info, I'll try and see what happens.."Brett_"If you remember again, please pass any info my way if you can..Thanks.. :)

Brett_Tabke

5:53 pm on Mar 12, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Is it an raq or similar running a cgi wrapper program?