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.htmlURL: "http://localhost/~lamartin/" leads to an Internet Explorer http #404 error
Can you resteer me towards a solution? Apache novice, Fred Lamartin----- Original Message ----- From: "Joshua Slive" <joshua@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Monday, September 03, 2007 12:36 PM Subject: Re: Baffled for two months - Need help
On 9/3/07, Frederick Lamartin <fhlamartin@xxxxxxxxxxx> wrote:I need help with a BASIC problem that has baffled me for two months. Here are the pertinent data.1. Using a Windows Vista Home Premium platform, I cannot open my website inthe server. 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, byusing the following URL: http://localhost/~lamartin/. In I.E., the URL givesan error ("Internet Explorer cannot display the webpage"), and the URL gives 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:/ProgramFiles/Apache Software Foundation/Apache2.2/htdocs/lamartin".The last time you posted the exact same question I said: On 8/6/07, Joshua Slive <joshua@xxxxxxxx> wrote: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"Was there something you didn't understand there? Why didn't you at least answer my explicit questions? 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
--------------------------------------------------------------------- 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