Re: [suse-linux-uk-schools] Apache web server
Thanks, I have just done this and the page has copied across. Now I get You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the 213.18.94.9 home page. You can click Search to look for information on the Internet. HTTP Error 403 - Forbidden Internet Explorer can you help with this. James ----------
From: James Samuel <james@suse.co.uk> To: James Scott <scott@camborne-comm-coll.cornwall.sch.uk> Cc: suse schools list <suse-linux-uk-schools@suse.com> Subject: Re: [suse-linux-uk-schools] Apache web server Date: 23 March 2000 09:58
On Thu, 23 Mar 2000, James Scott wrote:
Can any one out there tell me how to publish html to my Linux. I have Apache up and running. But I can't find where to publish my stuff (i.e. what folder).
If you want it to appear in the "main" folder - i.e. at the main address, the dir you are looking for is /usr/local/httpd/htdocs. If you want per-user html folders, make a directory called public_html in each users home dir - then any files you put in there will be accessable with a URL of http://<machinename>/~<username>/<files>.
Any more info, please ask. :)
-- James Samuel Network Manager, SuSE Linux Ltd. Direct Phone: +44 (0)208 387 1485 Fax: +44 (0)208 387 4010
On Thu, 23 Mar 2000, James Scott wrote:
Thanks, I have just done this and the page has copied across. Now I get
You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the 213.18.94.9 home page. You can click Search to look for information on the Internet. HTTP Error 403 - Forbidden Internet Explorer
can you help with this.
Where did you copy it to? /usr/local/httpd/htdocs, or to a users home dir? It's probably a permissions issue. If you copied it to the main dir, then the directory permission are fine - it's just the file permissions. You may have to chmod 644 the file to make it readable. If it's in a users homedir, you'll probably have to chmod 701 the public_html dir, then chmod 644 any files within it. That should be all you need to do. -- James Samuel Network Manager, SuSE Linux Ltd. Direct Phone: +44 (0)208 387 1485 Fax: +44 (0)208 387 4010
participants (2)
-
James Samuel
-
James Scott