Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-14-2011, 05:45 PM   PM User | #1
haithamedrees23
New Coder

 
Join Date: Dec 2010
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
haithamedrees23 is an unknown quantity at this point
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
haithamedrees23 is offline   Reply With Quote
Old 06-14-2011, 07:31 PM   PM User | #2
kbluhm
Senior Coder

 
kbluhm's Avatar
 
Join Date: Apr 2007
Location: Philadelphia, PA, USA
Posts: 1,502
Thanks: 2
Thanked 258 Times in 254 Posts
kbluhm will become famous soon enough
Did you try adding a space after `/product`to the second Alias declaration as already suggested here:
http://www.codingforums.com/showthread.php?t=229403
__________________
ZCE
kbluhm is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:23 PM.


Advertisement
Log in to turn off these ads.