Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Need Help Publishing My Web Page, redhat 6.2, apache, squid
sameasyou
post Jan 25 2003, 07:53 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 25-January 03
Member No.: 367



Hello
I'm new with Linux and I have installed redhat 6.2 and apache.
When I type the address the server returns "You don't have permission to access / on this server.". What should I do in order to be able to view my web page?
Thank you.
George
Go to the top of the page
 
+Quote Post
Corey
post Jan 27 2003, 08:05 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



It all depends on where your apache config file is looking for your base directory. Different distributions have different results. First, look for your apache config file (may be in /etc, /etc/apache, /usr/local/apache/conf) named httpd.conf , in that file look for a setting for "DocumentRoot", this will tell you where your html files should be located to. If, for example, they are located in /var/www (which a lot of distributions are doing right now), then cd into that directory and make sure you have your files in there. For individual users, you can place your html files in your home directory under the "public_html" directory. (mkdir ~/public_html && chmod 644 ~/public_html).


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
sameasyou
post Jan 28 2003, 07:31 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 25-January 03
Member No.: 367



Hello
I did what you said:),
The directory is home/httpd/html.
I think there is a problem with the permissions.
I managed to see my page...and now I changed it and can't see it again:).
thank you, George
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 07:29 PM