You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeff Cohen <ap...@gej-it.com> on 2003/01/22 23:12:08 UTC

RE: [users@httpd] Newbie: W2k / Apache Configuration

Hi Stephan,

 

In order to get the right sort of files, first of all remove the "/" at the
end of the path where the <Directory "d:/lyrics"> = that's how it should be,
without the last "/".

 

Try it and let me know if anything else you might need help with.

 

All the best,

Jeff Cohen

 

-----Original Message-----
From: Stephan Jau [mailto:sjau@gmx.net] 
Sent: Wednesday, January 22, 2003 7:40 AM
To: users@httpd.apache.org
Subject: [users@httpd] Newbie: W2k / Apache Configuration

 

Hiya,

I just downloaded Apache and installed it on my W2k machine. Installation
run smoothly and the server runs.

However I need to achieve two things on which I have not found an answer yet
upon doing 2h of research.

1.) I currently have installed the Apache DocumentRoot as DocumentRoot
"C:/Programme/Apache2/htdocs" and I'd like to include a directory of
different lyrics for songs in it. However that is located at D:\Lyrics where
all my file storage takes place. According to the manual I must do this with
an Alias command. So I entered this into the config:

Alias /Lyrics/ "D:/Lyrics/"

<Directory "D:/Lyrics/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

I also restarted apache server after saving the config file. However when I
access localhost I just see one text file that I have put into the document
root. I'm sure it's only some small problem but I just can't find out what
it is. The rest of the apache config is untouched. I just added those few
lines.

2.) Is there a way to make a .htaccess protection of folder in W2k? Is there
some other way to restrict access to some user / pwd list?

Thank you for your help!

Stephan




Stephan Jau
Goliathgasse 37
9000 St. Gallen

Tel. Mobile: (+41) (79) 215 44 73 <http://www.mtnsms.com/>  (send me a SMS)
UIN for ICQ: 1128681
<http://wwp.mirabilis.com/scripts/Search.dll?to=1128681> 

--------------------------------------------------------------------- The
official User-To-User support forum of the Apache HTTP Server Project. See
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