pointing an alias "folder" to another HDD?
Posted by: weyountdb (---.nott.cable.ntl.com)
Date: January 18, 2007 12:14AM

My www directory (which localhost and my IP address point to when I'm running the server) is currently: D:\wamp\www

I would like to create an alias to my media hard drive for an internal house network for my housemate to get stuff off my HDD. Right now he can access the internal network IP address of 192.xxx.xxx.xxx which is my PC on the network.

The D: is only 5gb (stupid partition for "safe restore" which I don't need so formatted it) but f: is 500gb.

When setting the alias file so that typing in 192.xxx.xxx.xxx/mattsstuff would point to my F drive:

Alias /mattsstuff/ "f:/"

<Directory "f:/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

it doesn't work:

404: Not Found

The requested URL /mattsstuff was not found on this server.
Apache/2.0.58 (Win32) PHP/5.1.4 Server at localhost Port 80


I also tried f:\ and f: but they didn't work either. Is it possible to do? Or better yet, is there a way to move the www directory from the base wamp one?

Options: ReplyQuote
Re: pointing an alias
Posted by: yfastud (---.cable.mindspring.com)
Date: January 18, 2007 04:42AM

Check these posts

[forum.wampserver.com]

[forum.wampserver.com]

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)
[nukevo.jlbn.com] (testing phpNuke Evolution 2.0.1)



Post Edited (01-18-07 14:58)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: pointing an alias "folder" to another HDD?
Posted by: bobsuss (---.ext.ti.com)
Date: January 18, 2007 05:52PM

The solution is to use UNC names in Alias and Directory statements. Do NOT use mapped drive letter, e.g. Z:/track/www.

This worked for me:

Alias /track/ "//samba_svr/bob/track/www/"

<Directory "//samba_svr/bob/track/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

Options: ReplyQuote


Sorry, only registered users may post in this forum.