Results 1 to 3 of 3
I am trying to share a new directory which is not preconfigured with Apache.
I open my /etc/httpd/conf/commonhttpd.conf file.
At the bottom I add:
<Directory /path/to/directory>
Options -Indexes MultiViews
AllowOverride ...
- 01-12-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- United States
- Posts
- 10
Sharing a new directory
I am trying to share a new directory which is not preconfigured with Apache.
I open my /etc/httpd/conf/commonhttpd.conf file.
At the bottom I add:
<Directory /path/to/directory>
Options -Indexes MultiViews
AllowOverride None
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
I restart and nothing happens. When I goto http://localhost/directory/ I get a 404.
- 01-12-2005 #2Just Joined!
- Join Date
- Feb 2004
- Location
- Bangalore
- Posts
- 14
To Share a directory apache is not a good server.U can use samba for this purpose for any unix to unix as well as unix to Windows.....
Try this....
- 01-13-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- United States
- Posts
- 10
No, I am not trying to set up network sharing for Apache, I'm trying to share a new directory for the webserver so that when I type in "http://localhost/new_share" I get the contents of that folder displayed to me... I hope you understand.


Reply With Quote