954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

image folder /path

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

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.

conntaxman
Newbie Poster
7 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

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? ;)

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

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"

conntaxman
Newbie Poster
7 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: