Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: paths to image directories |
|
Author |
|
bbxrider
Joined: 24 Feb 2007 Posts: 27 Location: stocktown ca
|
Posted: Wed 10 Oct '07 21:47 Post subject: paths to image directories |
|
|
running apache2 on winxp, serving multiple domains with virtual host setups.
my dir structure is htdocs/domain1/images, htdocs/domain2/images, etc
trying to setup a quick page with direct address url, ie, domain1.com/quickpage.html, the page comes up ok but can't seem to find a dir path that works for links to pics, etc
i have htdocs/domain1/dom1images that works fine for those pages
i created a new dir for the quickpage images, htdocs/domain1/qpimages
but can't seem to find a path on the page that can find them.
i've tried everyting from c:/apache2/htdocs/domain1/qpimages/somefile.ext
to just qpimages/somefile.ext
and everything in between
is there some way to do this?
bob |
|
Back to top |
|
Bruce
Joined: 28 Nov 2006 Posts: 77 Location: Mars
|
Posted: Fri 12 Oct '07 20:00 Post subject: |
|
|
You could try putting in your windows registry hkey user Apache2.Use multi string name it directory and put the hddrive path for the directory in it you can then list as meny path ways as you like in the multi string with only on directory entry.It could be read problem.This works for me when I get directory that dont work |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 13 Oct '07 11:45 Post subject: |
|
|
Please post your vhost config from your httpd.conf |
|
Back to top |
|
bbxrider
Joined: 24 Feb 2007 Posts: 27 Location: stocktown ca
|
Posted: Mon 15 Oct '07 7:03 Post subject: have been away for wknd, vhost |
|
|
thanks for the reply
<VirtualHost *:80>
ServerAdmin bbxmail1@job1data.com
DocumentRoot C:/apache2/htdocs/1614
DirectoryIndex index.html index.htm
ServerName www.1614-douglas-road.com
ServerAlias 1614-douglas-road.com *.1614-douglas-road.com
ErrorLog C:/apache2/logs/www.1614-douglas-road-error_log
# CustomLog C:/apache2/log/www.1614-douglas-road-access_log
</VirtualHost>
i have the directory C:/apache2/htdocs/1614/imagesc15
where i would like to store the images found on the page
1614-douglas-road.com/quickpage.html |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 15 Oct '07 9:21 Post subject: |
|
|
I think that is more an issue of html programming than a sever issue.
quickpage.html
Code: |
....
<img src="/imagesc15/your.jpg"
......
|
View your error log for more details. |
|
Back to top |
|
|
|
|
|
|