ASK 404 Not Found

#1
I am install OpenLiteSpeed 1.4.22 on Centos 7 64x, I found default directory in /usr/local/lsws/Example/html.
1. How to I change directory, example /usr/local/lsws/Rio/html
2. I upload script with index.php in directory /usr/local/lsws/Example/html, but not found.

there some body help me ? thank you
 
L

Long

Guest
#2
Hi, Rio,

You can log into the WebAdmin page, and change the Document Root for the vhost Example there.
Virtual Hosts -> Example -> General -> Document Root

About the upload file path, how did you upload the file? Using the upload function from the sample page?
If it is you should see something like the following on the upload page and you can find the uploaded path there.
In this example the file LiteSpeed.png is uploaded to /tmp/uploadfile_LiteSpeed.png.

Request body updated by Parser
File : file1
Name : LiteSpeed.png
Type : image/png
Path : /tmp/lshttpd//6Z1aBx
MD5 : 4caa321c9578d538e1ff7feba1cdb607
Size : 2567 Bytes

Moved: /tmp/lshttpd//6Z1aBx ====> /tmp/uploadfile_LiteSpeed.png
MD5 : 4caa321c9578d538e1ff7feba1cdb607
Size : 2567 bytes
 
Top