Directory doesn't exist... :( 404, cannot be found
i'm totally new with litespeed, i used to use apache for web server before, yesterday i found articles about litespeed n decide to try it on my nix box.. i install it and running well. The problem is, when i make directory, for example directory FILE to put files to be download directly by user, but after mkdir and try to access it by broswer, but got nothing.. i just got 404, file not found. i try with several ways just like an example on context content, but still got 404, can you help me to solve this problem. i really want to use litespeed,
did you make directory under document root?
maybe unix/linux file permission issue.
please paste the output of
ls -l directory-you-create
i make FILE directory under Virtual host root directory..
here is output for ls -l
drwxr-xr-x 2 nobody nogroup 4096 2009-09-01 19:11 blocked
-rw-r--r-- 1 nobody nogroup 195 2009-09-01 19:11 error404.html
drwxr-xr-x 2 nobody nogroup 4096 2009-09-03 08:24 file <-----
-rw-r--r-- 1 nobody nogroup 995 2009-09-02 01:01 index.html
-rw-r--r-- 1 nobody nogroup 52 2009-09-01 19:11 phpinfo.php
-rw-r--r-- 1 nobody nogroup 5382 2009-09-01 19:11 powered_by.gif
drwxr-xr-x 2 nobody nogroup 4096 2009-09-01 19:11 protected
this looks ok.
then output of
ls -l file
under file directory i make sample.txt, here the ls -l under file directory
nix@gatotkaca:/opt/lsws/DEFAULT/html/file$ ls -l
-rw-r--r-- 1 nobody nogroup 0 2009-09-03 16:46 sample.txt
but when try to accessing by URL, it just give an 404 error messeges.
is that any speasial way to make directory to accessable for everyone, an example
i start to love this litespeed, but his make me confused too :((
there is no index.html, if you access /file/sample.txt, it will work.
|All times are GMT -7. The time now is 01:53 AM.|