Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 19th, 2004, 10:42 PM
Registered User
 
Join Date: Jul 2004
Location: Toronto, Ontario, Canada.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Reply With Quote
  #2 (permalink)  
Old August 20th, 2004, 01:20 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old August 23rd, 2004, 03:32 AM
Authorized User
 
Join Date: Jul 2004
Location: Las Vegas, NV, USA.
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #4 (permalink)  
Old August 23rd, 2004, 03:44 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Vs Server anukagni Access 7 June 13th, 2007 06:22 AM
how can i access my url outside my server? priyaram SQL Server 2005 12 February 14th, 2007 12:20 PM
remote server access javatamil Java GUI 1 March 16th, 2005 11:01 AM
Sql server access problems mbje ADO.NET 0 October 29th, 2004 03:18 AM
Access on Terminal Server rbrady Access 0 April 14th, 2004 08:43 AM



All times are GMT -4. The time now is 05:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.