[solved] Error 404 Not Found

prandah

Well-Known Member
#1
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 a moderator:

prandah

Well-Known Member
#2
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
 

prandah

Well-Known Member
#4
#ls -al /home/prandah/prandah.com/.htaccess ?
hello

PHP:
[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:

prandah

Well-Known Member
#6
still error

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
 

prandah

Well-Known Member
#7
or it will effect ?

[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 ~]#
 

mistwang

LiteSpeed Staff
#10
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.
 

prandah

Well-Known Member
#11
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.
hello i now why my site shown 404 not found :D
the owner and gropu not correctly :)

but i have some problem

how to enable / install Ioncube Loader ?
 
#12
CODE]404 Not Found (solution)

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

--------------------------------------------------------------------------
My dear same problem i have faced on my site http://dramasmax.com  but i hv solved my problem just edit file .htaccess. when i open my .htaccess file. it was empty. i put some strings like under. and my error has been removed....
String :eek:
------

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
--------------------------------
Best Of Luck
 
Top