Apache images problem with path

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache images problem with path

Postby bill78b » 10. July 2008 18:43

Hi..

In https.conf file i given Alias name for images like this..

Alias /images/ "/usr/local/apache2/images/"

I am accessing images in my jsp file like..

src="/images/util_copy_edge.gif"

But Images are not coming in Web Browser .. when i am accessing JSP file...

Any Idea...??

Thanks

Bill
bill78b
 
Posts: 4
Joined: 10. July 2008 18:38

Postby Nobbie » 10. July 2008 19:03

>Any Idea...??

Of course - there is missing the http:// part of the URL:

src="http://localhost/images/util_copy_edge.gif"

"localhost" matches to your local PC. If you are running on a remote server, you must replace "'localhot" by the servers domain name (i.e. http://www.mydomain.com/images/util_copy_edge.gif)
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Postby bill78b » 10. July 2008 19:10

Thanks for your reply...

I am using like that in JSP file...

I am not calling directelly...

I am Calling like this..

http://es-devweb1.eservices.local:80/im ... y_edge.gif

http://es-devweb1.eservices.local:80... ... ServerName

/images/ ........ Alias Name
bill78b
 
Posts: 4
Joined: 10. July 2008 18:38

Postby bill78b » 10. July 2008 19:18

Still I am facing Same Problem..

It should resolve by today...

Any Idea...
bill78b
 
Posts: 4
Joined: 10. July 2008 18:38


Return to Apache

Who is online

Users browsing this forum: No registered users and 275 guests