xboxscene.org forums

Author Topic: Help With Appserv......  (Read 62 times)

TitanXtrm

  • Archived User
  • Newbie
  • *
  • Posts: 5
Help With Appserv......
« on: May 08, 2004, 06:36:00 PM »

Is there anyone familiar with using AppServ?  Would really like some help with setting it up to run a Web Server that be viewed over the internet.  Tried following a tutorial on the AppServ forums to set up a virtual host, but I couldn't get it to work.....I would really appreciate any help.
Logged

XeroKitsune

  • Archived User
  • Hero Member
  • *
  • Posts: 700
Help With Appserv......
« Reply #1 on: May 08, 2004, 11:43:00 PM »

QUOTE (from httpd.conf)
<VirtualHost 192.168.1.2:80>
    ServerAdmin [email protected]
    DocumentRoot c:/appserv/junk
    ServerName 192.168.1.2
    ErrorLog c:/appserv/192.168.1.2.error.log
    CustomLog c:/appserv/192.168.1.2.access.log common
</VirtualHost>

Apache was developed for the *nixes so remember the directory slashes go this way /, not the windows way \.
This makes the c:\appserv\junk folder the root of the websight bound to 192.168.1.2 . So any port 80 traffic directed to the 192.168.1.2 address will see that websight. If in this senerio we were using a soho router, then seting the router to forward it's port 80 traffic to the 192.168.1.2 would make it accessable from the external IP the router has.
Rember a stop and restart of the apache service is need after a change is made to the httpd.conf for it to take effect.
Logged

TitanXtrm

  • Archived User
  • Newbie
  • *
  • Posts: 5
Help With Appserv......
« Reply #2 on: May 09, 2004, 04:48:00 AM »

CODE

    ServerName titanxtrm.dyndns.org
    DocumentRoot c:/appserv/www



So if I get the virualhost set up....is there any other changes that I would need to make in the httpd.conf?  Or should that be enough to make it accessable from the internet?
Logged

XeroKitsune

  • Archived User
  • Hero Member
  • *
  • Posts: 700
Help With Appserv......
« Reply #3 on: May 09, 2004, 10:26:00 AM »

Is there a router between you and the internet or are you directly connected to the modem?
Also setting a log file is highly recomended. That way you can check your sight's activity.
Logged

TitanXtrm

  • Archived User
  • Newbie
  • *
  • Posts: 5
Help With Appserv......
« Reply #4 on: May 09, 2004, 03:05:00 PM »

Hmm.....so I should probably try using a different port...something like 81 or 82?
Logged