|
|
|
tWeaKmoD
|
Posted:
Wed Jun 14, 2006 8:43 pm |
|
|
|
Respected Member of PROnetworks
Joined: 16 Mar 2004
Posts: 9185
Location: USA
|
| Computer Guru wrote: |
Some people *cough* CG *cough* just run TCP syn checks every time they connect to a network, and if they notice a port 25 (not 80 BTW) had a FTP Server installed (client is what you connect with ) i'm sure they'd have gotten curious...
Moral of the story: use the firewall  |
Ohh I use a firewall...
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
Hughv
|
Posted:
Sat Jun 24, 2006 8:36 am |
|
|
|
PRO Level 3
Joined: 24 Jun 2006
Posts: 80
Location: Annapolis, MD
|
|
|
Back to top
|
|
|
|
tWeaKmoD
|
Posted:
Sun Jul 09, 2006 7:08 pm |
|
|
|
Respected Member of PROnetworks
Joined: 16 Mar 2004
Posts: 9185
Location: USA
|
|
I set this up and it was working great..until I restarted my computer. Now when I try to open my page (using 192.168.0.4 - how it was working earlier) it is asking me for a username and password. I don't think I made any changes. How can I get this to go back to how it was?
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
gries818
|
Posted:
Tue Aug 08, 2006 5:55 pm |
|
|
|
Respected Member of PROnetworks
Joined: 07 Jul 2004
Posts: 6563
|
I found its actually easier to setup Apache and PHP seperatly. I could never get XAMPP to work 
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
adamdon89
|
Posted:
Tue Sep 05, 2006 1:51 pm |
|
|
|
PRO Level 2
Joined: 04 Aug 2005
Posts: 25
Location: UK
|
|
I think I've got this working but when I go to the URL of my sub domain it goes to the configuration utility of my SpeedTouch 576 router, any help?
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
c0ldfyr3
Andrew J Gurklies |
Posted:
Mon Oct 09, 2006 3:30 am |
|
|
|
PRO BRONZE
Joined: 02 May 2004
Posts: 3038
Location: 127.0.0.1
|
I like to use WAMP ( Windows Apache Mysql PHP ). it doesn't have to may addons, but it works for starting a beginner site. i host 5 subdomains from it, using virtual hosts in apache's http.conf file. using seperate ports and folders for each.
After Installing WAMP I go into the http.conf file and move everything needed to host a VirtualHost to the end of the file.
so one of my VirtualHosts look like this:
| Code: |
NameVirtualHost *:9090
Listen 9090
<VirtualHost>
ServerAdmin email addy
DocumentRoot D:/sirussofts/www/www2
ServerName localhost
<Directory>
Options All
AllowOverride none
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
|
now the first "www" folder is set as the default directory, so you have to change this. I chage it to a sub directory of that very folder so that i may have each foldewr set up as its own site. connected via its own port and subdomain.
I also make it so i can use non default names to open the index of a folder so i have made the DirectoryIndex look like this:
| Code: |
DirectoryIndex portal.php index.php index.php3 index.html index.htm main.php main.php3
|
this allows for; portal.php, index.php, index.php3, index.html, index.htm, main.php, and main.php3 to be used in opening a folders contents, jus tas if it were the "index" file.
Now my last step is to forward port 9090 in both my routers( I have a westell from verizon, and a linksys i bought ) and in windows firewall, then go to no-ip.org and select the Host Type as "port 80 redirect" and select port 9090.
update ( or restart ) No-IP DUC so it picks up your new subdomain, and bobs your uncle.
so now when a user goes to http://mysite.no-ip.org they get send to my IP on port 9090 instead of port 80.
now i seem to have an issue viewing my subdomain from with in my network, so i am restricked to viewing it as my machine name then the port like this:
| Code: |
http://machinename:9090/
|
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
c0ldfyr3
Andrew J Gurklies |
Posted:
Tue Oct 24, 2006 10:39 am |
|
|
|
PRO BRONZE
Joined: 02 May 2004
Posts: 3038
Location: 127.0.0.1
|
I almost forgot
in your http.conf you'll find this line
| Code: |
ServerName localhost:80
|
your gonna need to change that line to
| Code: |
ServerName localhost
|
otherwise your vitrual servers will NOT work.
I just remembered this after spending about 4 hours troubleshooting my apache2 http.conf file. 
|
|
|
|
|
|
|
|
Back to top
|
|
|
|
|
Back to top |
|
|
|
|
|