LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > .htaccess doesn't work

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2006, 03:05 PM
dredy dredy is offline
New Member
 
Join Date: Feb 2006
Posts: 3
Default .htaccess doesn't work

.htaccess doesn't work on my server.
I tried all "HT Access > Allow Override" options for both of "Server" and "Virtual Host" but doesn't work. And there is not any error logs.. Do you have an idea?
p.s.: that .htaccess files are correctly work on Apache
Reply With Quote
  #2  
Old 03-05-2006, 03:19 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You can turn on debug logging by setting "debug level" to "high" and "log level" to "debug", activity on .htaccess should be in the log file.

Remember to restart the server after the configuration changes.

Maybe the directives in the .htaccess that you expect to work are not supported by LSWS yet.
Reply With Quote
  #3  
Old 03-05-2006, 03:42 PM
dredy dredy is offline
New Member
 
Join Date: Feb 2006
Posts: 3
i tried it but there is not any error log about protected directory in error_log file. there is only this log in access_log:

[06/Mar/2006:01:29:32 +0200] "GET /_xxxxz/ HTTP/1.1" 304 - "-"
.htaccess file has got read permission for all users
it contains following lines:

AuthType Basic
AuthName "Access Denied"
AuthUserFile "/home/xxxx/public_html/admin/.passwd"
require valid-user

SERVER CONFIG:
[SERVER'S SECTION]:
HT Access Edit
Allow Override N/A
Access File Name .htaccess

[THIS VHOST'S SECTION]: (X: checked)
HT Access Edit
Allow Override X Limit X Auth X FileInfo X Indexes X Options None
Access File Name .htaccess
I already tried with all unchecked

what's the problem?
Reply With Quote
  #4  
Old 03-05-2006, 05:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Server level configuration is 'N/A', which disables .htaccess for the whole server. it must be turned on at server level in order to enable .htacess for any vhost.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess: Allow from domain.com not working gboudreau Bug Reports 3 02-11-2007 06:59 PM
cPanel migration - .htaccess (sus.page) slimak Apache Migration/Compatibility 8 12-12-2006 08:24 AM
.htaccess doesn't work pizzaman Apache Migration/Compatibility 10 09-12-2006 01:00 PM
.htaccess problem xinn Install/Configuration 1 12-07-2005 12:01 PM
.htaccess in 2.1RC2 gcisnet Bug Reports 1 08-18-2005 05:41 PM


All times are GMT -7. The time now is 04:42 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.