Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Alias folder

  1. #1
    New Coder
    Join Date
    Dec 2010
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Alias folder

    I have created folder called product on C partition , the under <IfModule alias_module> in the httpd.conf file I have added the following lines

    Alias /product/ "C:/product/"
    Alias /product"C:/product"
    </IfModule>
    <Directory "C:/product">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    I have also added php test file to the folder

    when I entered the URL http://localhost/product it didn't take me to test file

    can any one help please

  • #2
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Did you try adding a space after `/product`to the second Alias declaration as already suggested here:
    Alias folder


  •  

    Posting Permissions

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