You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ritin <ri...@yahoo.com> on 2001/04/14 21:41:57 UTC

[NEWBIE] Where to store the documents ??

Hi guys, 

Just set up Apache 1.3.14 on my Win2000 machine...

I have gone thru the documentation provided and also
the info in the httpd.conf file... but a few problems remain...

The server is supposed to serve documents from the DocumentRoot
right ?? the httpd.conf file says ... 

"DocumentRoot: The directory out of which you will serve your documents. 
By default, all requests are taken from this directory "

my  DocumentRoot is d:/Apache/htdocs... I have an html
file in that directory ... the server root is d:/Apache ... 

Now i should be able to access this html file by typing in the browser
http://localhost/xyz.html ...is that right ??

but i am not able to access this html file ...'
some help please ... go easy with the flames ... :-)

Regards, 

Ritin

Re: [NEWBIE] Where to store the documents ??

Posted by Forest Come-Peace <fo...@yahoo.com>.
Change the forward slash to backward slash
ie
d:\Apache\htdoc

and see if this works.

--- Jon Niola <jo...@mediavortex.com> wrote:
> First step before anything is to make sure the
> server is running :)
> 
> Are you trying to view just a static HTML page? If
> so and you still can't 
> access the page, what error do you get if any?
> 
> --Jon
> 
> At 01:11 AM 4/15/2001 +0530, Ritin wrote:
> >Hi guys,
> >
> >Just set up Apache 1.3.14 on my Win2000 machine...
> >
> >I have gone thru the documentation provided and
> also
> >the info in the httpd.conf file... but a few
> problems remain...
> >
> >The server is supposed to serve documents from the
> DocumentRoot
> >right ?? the httpd.conf file says ...
> >
> >"DocumentRoot: The directory out of which you will
> serve your documents.
> >By default, all requests are taken from this
> directory "
> >
> >my DocumentRoot is d:/Apache/htdocs... I have an
> html
> >file in that directory ... the server root is
> d:/Apache ...
> >
> >Now i should be able to access this html file by
> typing in the browser
>
><http://localhost/xyz.html>http://localhost/xyz.html
> ...is that right ??
> >
> >but i am not able to access this html file ...'
> >some help please ... go easy with the flames ...
> :-)
> >
> >Regards,
> >
> >Ritin
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Re: [NEWBIE] Where to store the documents ??

Posted by Jon Niola <jo...@mediavortex.com>.
First step before anything is to make sure the server is running :)

Are you trying to view just a static HTML page? If so and you still can't 
access the page, what error do you get if any?

--Jon

At 01:11 AM 4/15/2001 +0530, Ritin wrote:
>Hi guys,
>
>Just set up Apache 1.3.14 on my Win2000 machine...
>
>I have gone thru the documentation provided and also
>the info in the httpd.conf file... but a few problems remain...
>
>The server is supposed to serve documents from the DocumentRoot
>right ?? the httpd.conf file says ...
>
>"DocumentRoot: The directory out of which you will serve your documents.
>By default, all requests are taken from this directory "
>
>my DocumentRoot is d:/Apache/htdocs... I have an html
>file in that directory ... the server root is d:/Apache ...
>
>Now i should be able to access this html file by typing in the browser
><http://localhost/xyz.html>http://localhost/xyz.html ...is that right ??
>
>but i am not able to access this html file ...'
>some help please ... go easy with the flames ... :-)
>
>Regards,
>
>Ritin