uploading site using a php based server |
uploading site using a php based server |
Chocolate |
Oct 31 2008, 02:10 AM
Post
#1
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
hi
i installed apache , mysql , php in system. and i set my document root to c:\site. now when i type localhost in the browser. it is taking me to the index.php page. but, i can't acess the site from any other system eventhough i type the right ip address. please tell me how i can i solve this. Chcolate |
Christian J |
Oct 31 2008, 06:35 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
Do you want to serve pages to the whole WWW (not just locally)?
|
Chocolate |
Oct 31 2008, 07:32 AM
Post
#3
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
|
Chocolate |
Nov 1 2008, 01:44 AM
Post
#4
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
is it possible?
Chocolate |
pandy |
Nov 1 2008, 01:53 AM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
Do you have a hardware firewall? A router?
|
Chocolate |
Nov 1 2008, 02:20 AM
Post
#6
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
sorry for this.
what r they. what type of hardware i need. chocolate |
pandy |
Nov 1 2008, 03:05 AM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
No, you don't need them for this, but if you have them they may complicate things. A router is a box between your computer and the modem (or hole in the wall, whatever you've got) that lets several computers share the same internet connection. They often have a firewall wall built in.
Hope this is readable. It's the hour when the sun falls on my screen, so I don't see what I write. |
Chocolate |
Nov 1 2008, 03:12 AM
Post
#8
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
i have modem based hi speed internet connection. this site is not very big and important. i dont't care anything about that. my second site will be big and i need some protection for that. how ever i will use a new pc for that.
Chocolate |
Chocolate |
Nov 1 2008, 03:21 AM
Post
#9
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
without anything you mentioned above can i upload the site?????
|
pandy |
Nov 1 2008, 04:29 AM
Post
#10
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
You mean if you can serve it, I think. Yes, you can do that even with a router, but then the router needs to be configured too.
Are you running Apache right now? |
Chocolate |
Nov 1 2008, 04:34 AM
Post
#11
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
yes iam running apache right now.
|
pandy |
Nov 1 2008, 04:52 AM
Post
#12
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
I can see your IP number, so I tried and there's no response.
Are you sure you haven't limited access to localhost in httpd.conf? |
Chocolate |
Nov 1 2008, 08:00 AM
Post
#13
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
actually that's no the original system. this is the real system. and how to know that i have limited access to localhost in httpd.conf ?
|
pandy |
Nov 1 2008, 08:11 AM
Post
#14
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
Well, don't you remember what changes you've done? I don't have it here so I can't tell you exactly where it is. It's well commented. Read what the comments say.
|
Christian J |
Nov 1 2008, 06:07 PM
Post
#15
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
|
Chocolate |
Nov 1 2008, 09:34 PM
Post
#16
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
christian i changed the server name to localhost. i can't understand your
QUOTE I think ServerName can also be set in your Virtual Hosts (if you've added those). |
pandy |
Nov 2 2008, 07:56 AM
Post
#17
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
No no, don't do that.
Search through httpd.conf and apache2.conf if you have one and look for something like this. Order deny,allow Deny from all Allow from 127.0.0.1 Search for "deny" and see what you find. |
Christian J |
Nov 2 2008, 08:40 AM
Post
#18
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
christian i changed the server name to localhost. No, "localhost" can be used if you only want it to serve pages offline (if I understood this correctly). QUOTE i can't understand your QUOTE I think ServerName can also be set in your Virtual Hosts (if you've added those). Virtual hosts can be used if you host separate sites on your server. If you haven't added any virtual hosts yourself you can just ignore that part, IIRC. See also http://httpd.apache.org/docs/2.0/mod/core.html#servername (but I don't know much about these things, so maybe I should stay quiet). |
Chocolate |
Nov 2 2008, 08:45 AM
Post
#19
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
there are many "deny". but i can't find apache2.conf
chocolate |
Chocolate |
Nov 2 2008, 08:53 AM
Post
#20
|
Novice Group: Members Posts: 28 Joined: 27-September 08 Member No.: 6,752 |
try visiting www.chocolate.com
chocolate This post has been edited by Chocolate: Nov 2 2008, 08:54 AM |
Lo-Fi Version | Time is now: 26th September 2024 - 02:52 PM |