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 Lamartin <fh...@verizon.net> on 2007/08/06 01:20:55 UTC

[users@httpd] Can't open my website - need help

1. Using a Windows Vista platform, I cannot open my website in the server. I 
need help from anyone who can steer me towards a solution. Here are the 
pertinent data.

2. The path to my website is "C:\Users\Lamartin\My Website".

3. Major elements of the configuration are:
    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
    Listen 80
    ServerName localhost:80
    UserDir Enabled lamartin
    UserDir "C:/Users/Lamartin/My Website"
    <Directory "C:/Users/Lamartin/My Website">
         AllowOverride None
         Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
             Order allow,deny
          Allow from all
    </Directory>
    <IfModule dir_module>
        index.html index.html.var index.cgi
    </IfModule>

4. I have tried to get an index of my site in both I>E> and FireFox, by 
using the following URLS: http://localhost/~lamartin/ and 
http://localhost/lamartin/. In I.E., each of these URLs gives an http 4.04 
error ("webpage cannot be found")  and a comparable error in Firefox.

5. The Apache error log entries for these trials are of this type: "[Sun Aug 
05 19:09:13 2007] [error] [client 127.0.0.1] File does not exist: C:/Program 
Files/Apache Software Foundation/Apache2.2/htdocs/lamartin".

Sent by Frederick H. Lamartin
fhlamartin@verizon.net 



---------------------------------------------------------------------
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] Can't open my website - need help

Posted by Joshua Slive <jo...@slive.ca>.
On 8/5/07, Frederick Lamartin <fh...@verizon.net> wrote:
> 1. Using a Windows Vista platform, I cannot open my website in the server. I
> need help from anyone who can steer me towards a solution. Here are the
> pertinent data.
>
> 2. The path to my website is "C:\Users\Lamartin\My Website".
>
> 3. Major elements of the configuration are:
>     ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
>     Listen 80
>     ServerName localhost:80
>     UserDir Enabled lamartin
>     UserDir "C:/Users/Lamartin/My Website"
>     <Directory "C:/Users/Lamartin/My Website">
>          AllowOverride None
>          Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
>              Order allow,deny
>           Allow from all
>     </Directory>
>     <IfModule dir_module>
>         index.html index.html.var index.cgi
>     </IfModule>
>
> 4. I have tried to get an index of my site in both I>E> and FireFox, by
> using the following URLS: http://localhost/~lamartin/ and
> http://localhost/lamartin/. In I.E., each of these URLs gives an http 4.04
> error ("webpage cannot be found")  and a comparable error in Firefox.
>
> 5. The Apache error log entries for these trials are of this type: "[Sun Aug
> 05 19:09:13 2007] [error] [client 127.0.0.1] File does not exist: C:/Program
> Files/Apache Software Foundation/Apache2.2/htdocs/lamartin".

Do you really want to be using UserDir? Why not just use an Alias or
just change your DocumentRoot to point to the correct directory?

For example, get rid of the UserDir stuff and use
Alias /lamartin "C:/Users/Lamartin/My Website"

Joshua.

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