PDA

View Full Version : auto index problem


art182
09-04-2008, 08:43 AM
hello. i've read this post http://www.litespeedtech.com/support/forum/showpost.php?p=8543&postcount=4

~:
mv /usr/local/lsws/share/autoindex /usr/local/php5/
cd /usr/local/lsws/share/
ln -s /usr/local/php5/autoindex autoindex

but still don't work

log:
[config:vhost:pub.kage.pl] Path of context location contains symbolic link or ownership does not match:/usr/local/lsws/share/autoindex/

where is the problem ?

sorry for english ;)

mistwang
09-04-2008, 10:41 AM
You probably has turned on this
http://www.litespeedtech.com/docs/webserver/config/security/#checkSymbolLink

try turning it off.

art182
09-04-2008, 01:13 PM
Follow Symbolic Link

No
Check Symbolic Link

No

and still

[config:vhost: pub.kage.pl] Path of context location contains symbolic link or ownership does not match:/usr/local/lsws/share/autoindex/

hmm ?
--------
If I change directory of autoindex to default ( /share/autoindex; no symlink )
and disable open_basedir no error in logs but

error 403 :/


edit:
ohh :

[83.220.100.17:15248-1#pub.kage.pl] Scripting is disabled for VHost [pub.kage.pl], context [/_autoindex/], access denied.

php must be on ?

so how can i on autoindex and off php for one vhost ?

mistwang
09-04-2008, 01:43 PM
You can try latest 3.3.18 release by change the version number in the download link.

PHP scripting is enabled under that directory while it is disable for the rest of the site.

art182
05-06-2009, 09:47 AM
a have this same problem with version 4.0.2

Follow Symbolic Link - No
Auto Index - Yes

and Error 403 :(

mistwang
05-06-2009, 10:01 AM
Please try the latest 4.0.3 build by changing the version number in the download link.

slimak
07-28-2009, 03:27 AM
The problem still occur for us. We get the "403 Forbidden" error for autoindex at LSWS 4.0.6, 4.0.7 and 4.0.9. The version LSWS 4.0.1 work properly without error.

mistwang
07-28-2009, 10:39 AM
Maybe change PHP suEXEC to "User's home directory Only" will fix that.
http://www.litespeedtech.com/docs/webserver/config/general/#phpSuExec

slimak
07-29-2009, 04:19 AM
No, in "User's home directory Only" problem still occur.

The Follow Symbolic Link is set to Yes (tried also set to No).
The Check Symbolic Link is set to No.

At the same configuration it was/is working in version 4.0.1 and earlier.