Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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.

  2. #2
    Just 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....

  3. #3
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •