Results 1 to 3 of 3

Thread: Directories in Apache!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Directories in Apache!

    Hello,

    Is it possible to have multiple description for one directory within one virtual domain in Apache?.Both of them taken separately.If i have:

    <Directory ""/dir1/dir2/dir3/domain1.com/www"">
    </Directory>
    and

    <Directory "/dir1/dir2/dir3/domain1.com/www">
    AddHandler cgi-script cgi pl
    Order Allow,Deny
    Allow from "All"
    Options -Indexes +ExecCGI
    </Directory>
    The first description for the site and the second description for the virtual directory mapped on "/dir1/dir2/dir3/domain1.com/www".

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    Adelaide, Australia
    Posts
    112

    Exclamation RE:Directories in Apache!

    If you have as you described in your httpd.conf file the later one will overide the previous one.
    IE:
    Code:
    <Directory "/dir1/dir2/dir3/domain1.com/www">
         AddHandler cgi-script cgi pl
         Order Allow,Deny
         Allow from "All"
         Options -Indexes +ExecCGI
    </Directory>
    will overide this one
    Code:
    <Directory ""/dir1/dir2/dir3/domain1.com/www"">
    </Directory>

  3. #3
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Smile

    Thank you for explaining

Similar Threads

  1. Sub-Virtual Directories
    By honey bee in forum Linux - General Topics
    Replies: 0
    Last Post: 09-20-2007, 07:46 AM
  2. Comparing two directories
    By vwgtiturbo in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 05-17-2006, 08:29 PM
  3. LINUX System Directories
    By arman in forum Linux - General Topics
    Replies: 10
    Last Post: 12-08-2004, 11:46 PM
  4. Apache: Toggle List directories in browser
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 06-24-2002, 05:53 AM
  5. Can syslink be done on directories??
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 03-02-2002, 08:47 PM

Bookmarks

Posting Permissions

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