 |
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6  | This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 19th, 2004, 10:42 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Server access
Hi everyone,
Here is what I would like to do:
I created a database that I would like people to access from
the internet. I have installed Apache on my computer and
used it as local server as I was learning AMP.
My internet connection is provided by an ISP, so I was wondering if
it was possible to configure my Apache server so people could
access a site that I would have created on my local machine.
Any suggestion?
Thanks.
L.
|
|

August 20th, 2004, 01:20 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
It's possible. Depending on whether you have a static IP or not determines how much trouble it will be. It can be done with a dynamic IP too, but requires a third party server of some kind (if you want to map a domain to the site). Basically, if you don't have a router or software firewall in place, setting up Apache means that by typing in your IP address your server should already be accessible to the world. If you do have a router or software firewall you will have to configure this so that traffic on port 80 is allowed to pass through.
HTH!
Regards,
Rich
--
[ http://www.smilingsouls.net]
[ http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
|
|

August 23rd, 2004, 03:32 AM
|
|
Authorized User
|
|
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Make sure your ISP does not have port 80 blocked outbound (from you to the world). Most ISPs are doing this to stop the 'renegade' webservers. You might want to read your TOS as well. It probably states that you can not run a webserver on your connection.
|
|

August 23rd, 2004, 03:44 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
If your ISP is blocking outbound traffic on port 80, you can get around that too by using a different port, such as 8080.
http://127.0.0.1:8080
Though this requires that the port be supplied explicitly in every request.
As codewizard suggested, read your TOS and violate that at your own risk ;).
Regards,
Rich
--
[ http://www.smilingsouls.net]
[ http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
|
|
 |