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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Error 404 Not Found

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2011, 09:40 AM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
Default [solved] Error 404 Not Found

Hello today i try install my server with kloxo basic
i install it and works fine
but i have some trouble
when i access my site it's show

Code:
404 Not Found

The resource requested could not be found on this server! Powered By LiteSpeed Web Server

---------------------------------------------------------------------------
LiteSpeed Technologies is not responsible for administration and contents of this web site!

any advice ?

Last edited by NiteWave; 11-07-2011 at 06:21 PM..
Reply With Quote
  #2  
Old 10-27-2011, 10:37 AM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
Quote:
2011-10-27 10:28:42.747 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-27 10:29:00.535 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-27 10:30:04.200 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-27 10:30:21.957 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-27 10:32:14.227 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-27 10:33:19.187 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
log error

but . i have chmod my .htaccess to nobody result same 404 not found

i have try

Code:
chown -R nobody /home/prandah/prandah.com/.htraccess
then i have chmod directory

Code:
 chown -R nobody /home/prandah/prandah.com
Reply With Quote
  #3  
Old 10-27-2011, 09:18 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
#ls -al /home/prandah/prandah.com/.htaccess ?
Reply With Quote
  #4  
Old 10-27-2011, 11:57 PM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
Quote:
Originally Posted by NiteWave View Post
#ls -al /home/prandah/prandah.com/.htaccess ?
hello

PHP Code:
[root@pegasus ~]# ls -al /home/prandah/prandah.com/.htaccess
-rw-r--r-- 1 nobody apache 4607 Oct 27 13:49 /home/prandah/prandah.com/.htaccess
[root@pegasus ~]

any advice?

Last edited by prandah; 10-28-2011 at 12:30 AM..
Reply With Quote
  #5  
Old 10-28-2011, 01:32 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
no such error
Quote:
2011-10-27 10:33:19.187 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
any more?
Reply With Quote
  #6  
Old 10-28-2011, 03:10 AM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
still error

Quote:
2011-10-28 02:58:48.520 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 02:58:57.772 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 02:59:08.472 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 02:59:28.058 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:00:29.521 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:02:04.514 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:03:42.480 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:05:20.460 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:06:24.665 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
2011-10-28 03:06:58.414 ERROR [HTAccess] Failed to open [/home/prandah/prandah.com/.htaccess]: Permission denied
Reply With Quote
  #7  
Old 10-28-2011, 03:32 AM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
or it will effect ?

Quote:
[root@pegasus ~]# ls -al /usr/local/lsws
total 92
drwxr-xr-x 17 nobody root 4096 Oct 27 12:20 .
drwxr-xr-x 13 root root 4096 Oct 27 08:31 ..
drwxr-xr-x 7 root root 4096 Oct 27 08:32 DEFAULT
-rw-r--r-- 1 root root 4014 Oct 28 03:17 LICENSE
-rw-r--r-- 1 root root 2214 Oct 28 03:17 LICENSE.OpenLDAP
-rw-r--r-- 1 root root 6279 Oct 28 03:17 LICENSE.OpenSSL
-rw-r--r-- 1 root root 3208 Oct 28 03:17 LICENSE.PHP
-rw-r--r-- 1 root root 6 Oct 28 03:17 VERSION
drwxr-xr-x 11 root root 4096 Oct 28 03:18 add-ons
drwxr-xr-x 10 root root 4096 Oct 28 03:17 admin
drwx------ 2 lsadm lsadm 4096 Oct 27 08:33 autoupdate
drwxr-xr-x 2 root root 4096 Oct 28 03:17 bin
drwx------ 4 lsadm lsadm 4096 Oct 28 03:28 conf
drwxr-xr-x 2 root root 4096 Oct 27 08:32 docs
drwxr-xr-x 2 root root 4096 Oct 28 03:17 fcgi-bin
drwxr-xr-x 2 root root 4096 Oct 27 08:32 lib
drwxr-xr-x 2 root root 4096 Oct 28 03:29 logs
drwxr-xr-x 7 nobody nobody 4096 Oct 27 12:20 lsphp4
drwxr-xr-x 7 nobody nobody 4096 Oct 27 09:19 lsphp5
drwxr-xr-x 2 root root 4096 Oct 27 08:32 php
drwx------ 5 lsadm lsadm 4096 Oct 27 12:23 phpbuild
drwxr-xr-x 3 root root 4096 Oct 27 08:32 share
[root@pegasus ~]#
Reply With Quote
  #8  
Old 10-28-2011, 08:46 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
check permission of /home/prandah
Reply With Quote
  #9  
Old 10-28-2011, 09:34 AM
prandah prandah is offline
Member
 
Join Date: Oct 2011
Posts: 27
what a permission ?
777 or 755 ?
Reply With Quote
  #10  
Old 10-28-2011, 09:44 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I think you should switch back to Apache, and make sure everything work properly, then start to trouble shoot LiteSpeed.
Make sure LiteSpeed is running as the same user that Apache running as. If Apache is not running as "nobody", you should not change owner to "nobody". To change that, you need to reinstall LSWS.
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


All times are GMT -7. The time now is 01:39 PM.



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