You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Frederick H. Lamartin" <fh...@verizon.net> on 2009/04/30 00:55:21 UTC

[users@httpd] Unable to configure Apache to use as personal web server

I am unable to configure Apache to connect to my local site.

Apache is installed as a personal web server on a notebook computer that uses the Windows Vista operating system.

The Apache installation works, as evidenced by the "It works" index page shown upon using the "http://localhost" URL.

I have configured the configuration file, httpd, trying to serve up an index of my web sites stored in the My Website folder, which is in the  "c:\users\user" folder.

Here are the configuration statements I believe are relevant:

 ServerRoot "C:/Apache Software Foundation/Apache.2"

 Listen 80

 User daemon
 Group daemon

 ServerName localhost:80

 DocumentRoot "C:/users/user/my website/"

 <Directory "C:/users/user/my website/">
   
      Options Indexes FollowSymLinks 
      AllowOverride None
      Order allow,deny
      Allow from all

 </Directory>


Use of the localhost URL continues to show only the "It works" index page.

I've tried every adjustment of configuration of which I can conceive.

Where am I going wrong?

Re: [users@httpd] Unable to configure Apache to use as personal web server

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Jonathan Zuckerman wrote:
>>>
>>> The Apache installation works, as evidenced by the "It works" index page
>>> shown upon using the "<http://localhost>http://localhost" URL.
>>>
>>> I have configured the configuration file, httpd, trying to serve up an
>>> index of my web sites stored in the My Website folder, which is in the
>>>  "c:\users\user" folder.
>>>
>>>  DocumentRoot "C:/users/user/my website/"
>>>
>>>  <Directory "C:/users/user/my website/">

The user that the apache service runs-as must have browse/list access to
the root C:\ directory, C:\users, the C:\users\user directories and
browse/list and read access to C:\users\user\my website and its contents.

Otherwise it can't work out the true directory names 'users', 'user',
'my website' and the actual contents of the site, so the <directory >
processing will terminate and file request is not recognized as legit.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Unable to configure Apache to use as personal web server

Posted by Evan Platt <ev...@espphotography.com>.
At 05:41 PM 4/29/2009, you wrote:

>Evan, a lot of times people want to work on a website which is created
>using a scripting langauge, uses a database, etc..  even if they are
>not connected to the internet at the time, or simply want to save
>bandwidth.  Working on your local webserver allows you to write code
>that will work on the public webserver but does not require an
>internet connection or the packet relay time during development.

I completely understand that. Maybe I misread
"I have configured the configuration file, httpd, trying to serve up 
an index of my web sites stored in the My Website folder, which is in 
the  "c:\users\user" folder."

as the directory had a list of HTML files - ie bookmarks. 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Unable to configure Apache to use as personal web server

Posted by Jonathan Zuckerman <j....@gmail.com>.
>> I am unable to configure Apache to connect to my local site.
>>
>> Apache is installed as a personal web server on a notebook computer that
>> uses the Windows Vista operating system.
>>
>> The Apache installation works, as evidenced by the "It works" index page
>> shown upon using the "<http://localhost>http://localhost" URL.
>>
>> I have configured the configuration file, httpd, trying to serve up an
>> index of my web sites stored in the My Website folder, which is in the
>>  "c:\users\user" folder.
>>
>> Here are the configuration statements I believe are relevant:
>>
>>  ServerRoot "C:/Apache Software Foundation/Apache.2"
>>
>>  Listen 80
>>
>>  User daemon
>>  Group daemon
>>
>>  ServerName localhost:80
>>
>>  DocumentRoot "C:/users/user/my website/"
>>
>>  <Directory "C:/users/user/my website/">
>>
>>      Options Indexes FollowSymLinks
>>      AllowOverride None
>>      Order allow,deny
>>      Allow from all
>>
>>  </Directory>
>>
>>
>> Use of the localhost URL continues to show only the "It works" index page.
>>
>> I've tried every adjustment of configuration of which I can conceive.
>>
>> Where am I going wrong?
On Wed, Apr 29, 2009 at 4:00 PM, Evan Platt <ev...@espphotography.com> wrote:
> Not to oversimplify things, but if Apache is installed on the laptop, I'm
> guessing you're not going to want this accessable from the outside world -
> ie you wouldn't want ME to be able to access it from my house, right?
>
> So what's in this folder? A Index.html file?
>
> You don't need Apache (or any web server) for that. Open up any web browser,
> type C:\directory\index.html, and viola .....
>

Evan, a lot of times people want to work on a website which is created
using a scripting langauge, uses a database, etc..  even if they are
not connected to the internet at the time, or simply want to save
bandwidth.  Working on your local webserver allows you to write code
that will work on the public webserver but does not require an
internet connection or the packet relay time during development.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Unable to configure Apache to use as personal web server

Posted by Evan Platt <ev...@espphotography.com>.
Not to oversimplify things, but if Apache is installed on the laptop, 
I'm guessing you're not going to want this accessable from the 
outside world - ie you wouldn't want ME to be able to access it from 
my house, right?

So what's in this folder? A Index.html file?

You don't need Apache (or any web server) for that. Open up any web 
browser, type C:\directory\index.html, and viola .....

At 03:55 PM 4/29/2009, you wrote:
>I am unable to configure Apache to connect to my local site.
>
>Apache is installed as a personal web server on a notebook computer 
>that uses the Windows Vista operating system.
>
>The Apache installation works, as evidenced by the "It works" index 
>page shown upon using the "<http://localhost>http://localhost" URL.
>
>I have configured the configuration file, httpd, trying to serve up 
>an index of my web sites stored in the My Website folder, which is 
>in the  "c:\users\user" folder.
>
>Here are the configuration statements I believe are relevant:
>
>  ServerRoot "C:/Apache Software Foundation/Apache.2"
>
>  Listen 80
>
>  User daemon
>  Group daemon
>
>  ServerName localhost:80
>
>  DocumentRoot "C:/users/user/my website/"
>
>  <Directory "C:/users/user/my website/">
>
>       Options Indexes FollowSymLinks
>       AllowOverride None
>       Order allow,deny
>       Allow from all
>
>  </Directory>
>
>
>Use of the localhost URL continues to show only the "It works" index page.
>
>I've tried every adjustment of configuration of which I can conceive.
>
>Where am I going wrong?




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Unable to configure Apache to use as personal web server

Posted by "Frederick H. Lamartin" <fh...@verizon.net>.
Emptying browser private folders solved my problem. Thanks.
  ----- Original Message ----- 
  From: Anthony J. Biacco 
  To: users@httpd.apache.org 
  Sent: Wednesday, April 29, 2009 6:59 PM
  Subject: RE: [users@httpd] Unable to configure Apache to use as personal web server


  Are you sure you reloaded the apache configuration and/or cleared your browser cache?

   

  -Tony

  ---------------------------

  Manager, IT Operations

  Format Dynamics, Inc.

  303-573-1800x27

  abiacco@formatdynamics.com

  http://www.formatdynamics.com

   

  From: Frederick H. Lamartin [mailto:fhlamartin@verizon.net] 
  Sent: Wednesday, April 29, 2009 4:55 PM
  To: users@httpd.apache.org
  Subject: [users@httpd] Unable to configure Apache to use as personal web server

   

  I am unable to configure Apache to connect to my local site.

   

  Apache is installed as a personal web server on a notebook computer that uses the Windows Vista operating system.

   

  The Apache installation works, as evidenced by the "It works" index page shown upon using the "http://localhost" URL.

   

  I have configured the configuration file, httpd, trying to serve up an index of my web sites stored in the My Website folder, which is in the  "c:\users\user" folder.

   

  Here are the configuration statements I believe are relevant:


   ServerRoot "C:/Apache Software Foundation/Apache.2"

   

   Listen 80

   

   User daemon
   Group daemon

   

   ServerName localhost:80

   

   DocumentRoot "C:/users/user/my website/"

   

   <Directory "C:/users/user/my website/">
     
        Options Indexes FollowSymLinks 
        AllowOverride None
        Order allow,deny
        Allow from all

   

   </Directory>

   


  Use of the localhost URL continues to show only the "It works" index page.

   

  I've tried every adjustment of configuration of which I can conceive.

   

  Where am I going wrong?

RE: [users@httpd] Unable to configure Apache to use as personal web server

Posted by "Anthony J. Biacco" <ab...@formatdynamics.com>.
Are you sure you reloaded the apache configuration and/or cleared your
browser cache?

 

-Tony

---------------------------

Manager, IT Operations

Format Dynamics, Inc.

303-573-1800x27

abiacco@formatdynamics.com <ma...@formatdynamics.com> 

http://www.formatdynamics.com <http://www.formatdynamics.com/> 

 

From: Frederick H. Lamartin [mailto:fhlamartin@verizon.net] 
Sent: Wednesday, April 29, 2009 4:55 PM
To: users@httpd.apache.org
Subject: [users@httpd] Unable to configure Apache to use as personal web
server

 

I am unable to configure Apache to connect to my local site.

 

Apache is installed as a personal web server on a notebook computer that
uses the Windows Vista operating system.

 

The Apache installation works, as evidenced by the "It works" index page
shown upon using the "http://localhost" URL.

 

I have configured the configuration file, httpd, trying to serve up an
index of my web sites stored in the My Website folder, which is in the
"c:\users\user" folder.

 

Here are the configuration statements I believe are relevant:


 ServerRoot "C:/Apache Software Foundation/Apache.2"

 

 Listen 80

 

 User daemon
 Group daemon

 

 ServerName localhost:80

 

 DocumentRoot "C:/users/user/my website/"

 

 <Directory "C:/users/user/my website/">
   
      Options Indexes FollowSymLinks 
      AllowOverride None
      Order allow,deny
      Allow from all

 

 </Directory>

 


Use of the localhost URL continues to show only the "It works" index
page.

 

I've tried every adjustment of configuration of which I can conceive.

 

Where am I going wrong?