Re: Unable to configure Apache to use as personal web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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 <evan@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux