Accessing multiple Hardives
Posted by: l8kerguy (---.hsd1.tn.comcast.net)
Date: November 03, 2014 04:28AM

Hello Everyone,

I am using WAMP to host our imgaes to ebay for our webstore. Currently Apache is configured with images in the root folder wamp/www which is on my C: drive (c:/wamp/www/Images)
Currently it works with [my] ip address/Images

I also want to share photos that is on my
X:/Images1
Y:/Images2
Z:/Images3

What do I need to do in order to get this to work
I am going for this etc..[ip] address/Images1 [ip] address/Images2 [ip] address/Images3

Please Help

Options: ReplyQuote
Re: Accessing multiple Hardives
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: November 03, 2014 09:53AM

Hi l8kerguy,

I think you need to look at this page on the Apache Documentation Files Outside the DocumentRoot

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Accessing multiple Hardives
Posted by: l8kerguy (---.hsd1.tn.comcast.net)
Date: November 05, 2014 01:36AM

Do I just edit my httpd.conf file? what would the file look like pointing those drives.
example maybe?

Options: ReplyQuote
Re: Accessing multiple Hardives
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: November 05, 2014 10:21AM

You could try something like this.

Find the section of the httpd.conf that starts '<Directory "c:/wamp/www/">' and add the Alias's after that section like so :-

<Directory "c:/wamp/www/">
    Options Indexes FollowSymLinks
    AllowOverride all

#   onlineoffline tag - don't remove
    Require all granted

</Directory>

Alias /x "x:/images1"
<Directory "x:/images1">
    Require all granted
</Directory>

Alias /y "y:/images2"
<Directory "y:/images2">
    Require all granted
</Directory>

Alias /z "z:/images3"
<Directory "z:/images3">
    Require all granted
</Directory>


Then the images should be accessible using your url like this 'your.url/x/pic1.jpg', 'your.url/y/pic1.jpg', 'your.url/z/pic1.jpg'

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Accessing multiple Hardives
Posted by: l8kerguy (---.hsd1.tn.comcast.net)
Date: November 06, 2014 01:46AM

I am able to access them online via web browser. But when hosting tech support said
" is currently returning a 404 error for me which is an access denied error.

This is why the system is unable to retrieve this image. Once you resolve the permissions issues or hosting issues, the image should be able to be accessed without a problem."

If it is accessable online why not when hosting. Only if have the images in the c:\wamp\www\ diretory they host with no issues

Options: ReplyQuote
Re: Accessing multiple Hardives
Posted by: l8kerguy (---.hsd1.tn.comcast.net)
Date: November 08, 2014 04:16AM

Riggs your the name. It actually did work. THANKS A BUNCH!

Options: ReplyQuote


Sorry, only registered users may post in this forum.