image folder /path

Reply

Join Date: Aug 2006
Posts: 7
Reputation: conntaxman is an unknown quantity at this point 
Solved Threads: 0
conntaxman conntaxman is offline Offline
Newbie Poster

image folder /path

 
0
  #1
Dec 13th, 2006
I have made a Image folder in my c:/program files/apache group/apache2.I don't want to put all of my images in the "htdocs" folder.
my images come up if i place the image in the "htdocs folder" but will not come up if i place them in the Image folder that I made.
I have tried
<img src="c:/program files/apache group/apache2/images/man.jpg">
nothing showes up except for the red X
I also have made a "public"folder that I would like to put all my html pages in for this site.
would like some help
Tks.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: image folder /path

 
0
  #2
Dec 13th, 2006
Hmmm... I think you need virtual hosts to make the seperate folders public - you can't simple refer in the HTML code to private files that exist on your server. After all, how is everyone supposed to see it?
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 7
Reputation: conntaxman is an unknown quantity at this point 
Solved Threads: 0
conntaxman conntaxman is offline Offline
Newbie Poster

Re: image folder /path

 
0
  #3
Dec 13th, 2006
joe. I thought Virtualhost was for hosting more than 1 webSite.I thought that I had read somewhere that you can make a new folder or folders and just use the "DocumentRoot or Directory" PATHS somehow.
Im use to useing a C-PANNEL and file mannager,from a hosting company.also in apache I cant find or figure out how to change permissions,Didn't need to yet.
For VirHost would this be right
ServerAdmin=my email address
Documentroot=?????
servername=I think this is my "hostname from DYNDNS"
errorLog = same as "hostname"
customlog =same as "hostname"
Lost on the Documentroot one for sure.
Any help on this one would be good.
I know [think] that i can put ALL the files and images in "htdocs"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum


Views: 3720 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Linux Servers and Apache
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC