Forum Moderators: phranque

Message Too Old, No Replies

Links are to localhost instead of domain

Problem with Joomla on Apache

         

mergoktas

8:09 am on Dec 8, 2006 (gmt 0)

10+ Year Member



Hi,
I have buit a web site on directly our own web server. It works good localy (as a localhost) without any problem, but after make it public as a webserver when we try to reach our web site it only shows a homepage without images . I looked the path of images so it says like a something [localhost...] and the other sub-pages link seen as a [localhost...] instead of [sitename.com...] .

I use joomla CMS ..
So, I think I miss something in apache configuration in httpd.conf but I could not recognize it ..

any helps are reatly appreciated ... thanx ..

equalm

7:12 pm on Dec 8, 2006 (gmt 0)

10+ Year Member




Well, I guess I have to ask the obvious question. Are you using relative paths in your image references when you created your template?

Apache configurations don't alter the domain being used, unless you're using a bunch of rewrite rules OR you've hardcoded the full path to the image, ie

img src="http://localhost/blah/blah.jpg"

.

equalm

7:14 pm on Dec 8, 2006 (gmt 0)

10+ Year Member




To the best of my knowledge re: joomla, most templates are defined with relative paths, so I'm not sure if you veered off that course, or if you outsourced the template creation who developed it locally. Check the code and check the database values for your image references. also check your templateDetails.xml I wonder if you properly defined the files there, too.