httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Jau <s...@gmx.net>
Subject RE: [users@httpd] Newbie: W2k / Apache Configuration
Date Thu, 23 Jan 2003 08:35:39 GMT
<html>
<body>
Hello Jeff,<br><br>
this doesn't work. A friend of mine is also running apache 1.3.27 but on
Win98SE. He has given me the following config code to test also which
works fine for him but it's not working for me. I also tried it with the
new 2.x.xx server also without success:<br><br>
<font face="Times New Roman, Times">&nbsp;&nbsp;&nbsp; Alias /test/
&quot;C:/windows/&quot; <br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp; &lt;Directory &quot;C:/windows&quot;&gt; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes MultiViews
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all <br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt; <br><br>
</font>I assume it is rather a problem of W2k (bundled) with apache than
a windows / apache problem.<br><br>
Any other suggestions?<br><br>
Stephan<br><br>
At 17:12 22.01.2003 -0500, you wrote:<br><br>
<blockquote type=cite class=cite cite><font face="arial" size=2 color="#000080">Hi
Stephan,<br>
</font><br>
<font face="arial" size=2 color="#000080">In order to get the right sort
of files, first of all remove the &quot;/&quot; at the end of the path
where the &lt;Directory &quot;d:/lyrics&quot;&gt; = that's how it should
be, without the last &quot;/&quot;.<br>
</font><br>
<font face="arial" size=2 color="#000080">Try it and let me know if
anything else you might need help with.<br>
</font><br>
<font face="arial" size=2 color="#000080">All the best,<br>
</font><br>
<font face="arial" size=2 color="#000080">Jeff Cohen<br>
</font><br>
<font face="arial" size=2 color="#000080">&nbsp;<br>
</font><font face="Times New Roman, Times"><br>
</font><br>
<font face="Times New Roman, Times">Hiya,<br><br>
I just downloaded Apache and installed it on my W2k machine. Installation
run smoothly and the server runs.<br><br>
However I need to achieve two things on which I have not found an answer
yet upon doing 2h of research.<br><br>
1.) I currently have installed the Apache DocumentRoot as DocumentRoot
&quot;C:/Programme/Apache2/htdocs&quot; 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:<br><br>
Alias /Lyrics/ &quot;D:/Lyrics/&quot;<br><br>
&lt;Directory &quot;D:/Lyrics/&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; Options Indexes MultiViews<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; Allow from all<br>
&lt;/Directory&gt;<br><br>
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.<br><br>
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?<br><br>
Thank you for your help!<br><br>
Stephan<br><br>
<br>
Stephan Jau<br>
Goliathgasse 37<br>
9000 </font>St. Gallen<br><br>
Tel. Mobile: <a href="http://www.mtnsms.com/">(+41) (79) 215 44 73</a>
(send me a SMS)<br>
UIN for ICQ:
<a href="http://wwp.mirabilis.com/scripts/Search.dll?to=1128681">1128681</a><br>
--------------------------------------------------------------------- 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 &quot; from the digest:
users-digest-unsubscribe@httpd.apache.org For additional commands,
e-mail: users-help@httpd.apache.org </blockquote>
<x-sigsep><p></x-sigsep>
<br>
Stephan Jau<br>
Goliathgasse 37<br>
9000 St. Gallen<br><br>
Tel. Mobile: <a href="http://www.mtnsms.com/">(+41) (79) 215 44 73</a>
(send me a SMS)<br>
UIN for ICQ:
<a href="http://wwp.mirabilis.com/scripts/Search.dll?to=1128681">1128681</a></body>
</html>


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


Mime
View raw message