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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Directory doesn't exist... :( 404, cannot be found

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2009, 12:22 AM
nix nix is offline
New Member
 
Join Date: Sep 2009
Posts: 7
Default 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,
Reply With Quote
  #2  
Old 09-03-2009, 01:10 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
did you make directory under document root?
maybe unix/linux file permission issue.
please paste the output of
ls -l directory-you-create
Reply With Quote
  #3  
Old 09-03-2009, 01:24 AM
nix nix is offline
New Member
 
Join Date: Sep 2009
Posts: 7
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
Reply With Quote
  #4  
Old 09-03-2009, 01:44 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
this looks ok.

then output of
ls -l file
?
Reply With Quote
  #5  
Old 09-03-2009, 09:48 AM
nix nix is offline
New Member
 
Join Date: Sep 2009
Posts: 7
under file directory i make sample.txt, here the ls -l under file directory
nix@gatotkaca:/opt/lsws/DEFAULT/html/file$ ls -l
total 0
-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
http://10.10.10.1/file <-----
i start to love this litespeed, but his make me confused too (
Reply With Quote
  #6  
Old 09-03-2009, 10:32 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
there is no index.html, if you access /file/sample.txt, it will work.
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 07:38 PM.



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