Home Virtual Server

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Home Virtual Server

Postby trevor4370 » 18. January 2005 08:42

I would like to set up a website that can be accessed via the Internet on my office computer. It is running Xammp for windows and localhost runs with no problems.

I have an adsl connection and it is through a D-Link dsl-504 router and firewall.

I do not really know where to start, so just a few pointers would be a help (inc words of encouragement :-) )

When I access my ip address via the web (http://ip address) I get the Router admin page. I would like to get a website instead ..... Where do I start, where can I go to get info on this?. I really don't know much about it, but would really like to know more .... any help appreciated.

Trevor
trevor4370
 
Posts: 8
Joined: 31. December 2004 03:50
Location: Australia

Postby Wiedmann » 18. January 2005 11:30

Read your router manual (port-forwarding, virtual server).
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby trevor4370 » 18. January 2005 23:37

Thank you for this, will read back to front.

Thanks again

Trevor
trevor4370
 
Posts: 8
Joined: 31. December 2004 03:50
Location: Australia

Postby trevor4370 » 19. January 2005 05:56

YES ..... I now have it running. It can be assessed on the Internet outside the network .... but for some reason the graphics do not display. I tried http://community.apachefriends.org/f/viewtopic.php?t=9584. any suggestions?

Trevor
trevor4370
 
Posts: 8
Joined: 31. December 2004 03:50
Location: Australia

Postby trevor4370 » 20. January 2005 02:00

Just an update of my problem ...... I found the path to the images displayed on the site were http://localhost/....../....../....., they should be http://ip address/..../..../....

When I go to the images path using the ip address instead of the localhost that image is displayed. Not knowing anything about Apache or this type of thing ..... can someone please give me some direction on where I can make the necessory changes.

I changed "ServerName localhost" to "ServerName my ip address". Did not make any difference ...... should I be changing anything eles?

Trevor
trevor4370
 
Posts: 8
Joined: 31. December 2004 03:50
Location: Australia

Postby No-Sense » 22. January 2005 11:44

the best way to solve problekms with the images is not to include the complete internet path. instead use something like this
Code: Select all
image.jpg
../image.jpg
../../image.jpg

when you do this and you change you internet adres you won't have any problems.
http://www.no-sense.8s.nl
Trying to make a dutch Xampp help guide
User avatar
No-Sense
 
Posts: 12
Joined: 21. January 2005 02:55
Location: Netherlands

Postby No-Sense » 22. January 2005 11:46

just change this in you html file. just experiment with it.
many of the know html editors do link to images this way
http://www.no-sense.8s.nl
Trying to make a dutch Xampp help guide
User avatar
No-Sense
 
Posts: 12
Joined: 21. January 2005 02:55
Location: Netherlands

Postby trevor4370 » 24. January 2005 21:59

The thing is I am using a Content management System .... Mambo. I think I have fixed the problem though.

In the config I changed

$mosConfig_live_site = 'http://localhost/cvc';

To

$mosConfig_live_site = 'http://ip address/cvc';

Fixed the problem for viewing via the Internet, but locally I can not see the graphics :-). I think that is all that can be done. It is not Apache or Xampp, it is the way that Mambo does things.

Trevor
trevor4370
 
Posts: 8
Joined: 31. December 2004 03:50
Location: Australia


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests