Koozali.org: home of the SME Server

Need help with web server

Matt

Need help with web server
« on: March 11, 2001, 03:42:54 AM »
Hi! I have my website copied over to the primary/http directory.  Now whenever I go to load my website, the main index.html comes up, but when I go to access another page, it says I don't have permission to access it.  My directory structure is as follows:

/http - Main index

/http/directory1 - other pages... etc..

its probably something with having multiple folders under the html directory, and I just need to change the permissions to make it available.

Thanks for any help

MATT

Paul

Re: Need help with web server
« Reply #1 on: March 11, 2001, 08:27:37 AM »
Matt wrote:
>
> Hi! I have my website copied over to the primary/http
> directory.

I think you mean primary/html.

> Now whenever I go to load my website, the main
> index.html comes up, but when I go to access another page, it
> says I don't have permission to access it.  My directory
> structure is as follows:
>
> /http - Main index

I think you mean:
/home/e-smith/files/primary/html

> /http/directory1 - other pages... etc..

and:
/home/e-smith/files/primary/html/directory1

> its probably something with having multiple folders under the
> html directory, and I just need to change the permissions to
> make it available.

Yes, it sounds like a permissions problem.  You can modify/verify the permissions by logging into the server and listing directory contents:

  ls -l /home/e-smith/files/primary/html

If you're unsure how to login as root user, refer to the e-smith technical FAQ, http://www.e-smith.org/faq.php3.  If you're unsure how to change permissions, you can read the appropriate manual using the command:

  man chmod

Compare the permissions on files that are viewable with perms on the files that you are having trouble with.
 
> Thanks for any help
>
> MATT