Re: Can't open my website - need help

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

 



On 8/5/07, Frederick Lamartin <fhlamartin@xxxxxxxxxxx> 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@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