Re: Baffled for two months - Need help

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

 



I have removed the alias directive from the configuration file. The URL: http://localhost now leads me to the index file in my web site. After removing the index file from my website, the URL opens an index to the site. We have success! Thanks again.

For the record, the following respond explicitly to your questions.

1. I have not been restarting apache after changing the configuration file. I have been directly attempting to open my site by directing the browser to the site. After changing the configuration file, attempting to restart Apache via the Windows start menu results in the following DOS-type error message: "Only one usage of each socket address (protocol/network address/port) is normally permitted.: make_s: could not bind to address 0.0.0.80 no listening sockets available, shutting down Unable to open logs". I have not yet, but shall, look into correcting that error by working through the Windows Control Panel.

2.  No other DocumentRoot directives are in httpd.conf

3. I have been editing the following configuration file: C:\Program Files\Apache software Foundation\Apache2.2\conf\httpd.conf

----- Original Message ----- From: "Joshua Slive" <joshua@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Tuesday, September 04, 2007 7:29 PM
Subject: Re:  Baffled for two months - Need help


On 9/4/07, Frederick Lamartin <fhlamartin@xxxxxxxxxxx> wrote:
Joshua,

Thanks for your attention. I'm trying to follow your guidance and, at the
same time, develop a deeper understanding of the concepts involved in
configuring Apache. Here's my latest failure:

DocumentRoot "C:/Users/Lamartin/My Website/"

<Directory "C:/Users/Lamartin/My Website/">

    Options Multiviews Indexes FollowSymLinks Includes ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all

</Directory>

Alias /lamartin "C:/Users/Lamartin/My Website"

URL: "http://localhost/";  opens the default Apache index.html

URL: "http://localhost/~lamartin/"; leads to an Internet Explorer http #404
error

Can you resteer me towards a solution?

Forget about the Alias and the ~lamartin stuff until you have the
basic DocumentRoot working.

Did you restart apache after changing the config file?

Are there other DocumentRoot directives in httpd.conf? (There should
only be one unless you are running VirtualHosts.)

Are you sure you are editting the correct config file?

---------------------------------------------------------------------
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





---------------------------------------------------------------------
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