|
Home > Archive > Web Servers on Unix and Linux > October 2004 > website
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Nick Mont 2004-10-22, 5:49 pm |
| I need some serious help. I have successfully installed apache, when
I go to view it, I get the apache test page. Now, I've tried to set
up web access, but cannot seem to get my website to display. I was
wondering if anyone could help me out.
Document root /usr/local/www/site.mysite
I changed the directory to the same thing
I tried to create a new user and group and I was still unable to view
the webpages that I created.
Thank you
Nick
| |
| NiTeHaWK 2004-10-25, 2:46 am |
| Nick Mont wrote:
> I need some serious help. I have successfully installed apache, when
> I go to view it, I get the apache test page. Now, I've tried to set
> up web access, but cannot seem to get my website to display. I was
> wondering if anyone could help me out.
> Document root /usr/local/www/site.mysite
> I changed the directory to the same thing
> I tried to create a new user and group and I was still unable to view
> the webpages that I created.
>
> Thank you
> Nick
It really comes down to what you called the main html page of your site.
There is two things you can do,
1) Add the name of the main webpage to the DirectoryIndex directive in
the httpd.conf
eg, DirectoryIndex index.html index.htm main.html
This tells apache what the names and file extentions can be used on the
first page thats served
when someone gets to your site with your www.domainname.com.
Note: This directive applies to all sub directorys as well. So if you
have webpages in sud directorys
instead of linking to say... www.mysite.com/links/main.html, you can
link into www.mysite/links and
the index/main page for that directory will automaticly be served.
2) Change the name of the main page in the DocumentRoot to index.html
Hope this helps
Aaron R
| |
| Tony Muler 2004-10-25, 7:48 am |
| Nick Mont wrote:
> I need some serious help. I have successfully installed apache, when
> I go to view it, I get the apache test page. Now, I've tried to set
> up web access, but cannot seem to get my website to display. I was
> wondering if anyone could help me out.
> Document root /usr/local/www/site.mysite
> I changed the directory to the same thing
> I tried to create a new user and group and I was still unable to view
> the webpages that I created.
"Document root" is correctly spelled "DocumentRoot".
| |
| Nick Mont 2004-10-25, 5:48 pm |
| Tony Muler <t_lawetta@yahoo.com> wrote in message news:<417cc29d$1@news.vo.lu>...
> Nick Mont wrote:
>
> "Document root" is correctly spelled "DocumentRoot".
Thank you all, I have it up and running now.
|
|
|
|
|