Forum Moderators: coopster

Message Too Old, No Replies

accessing Xampp project within the network

xampp, php, mysql

         

ksugam

1:14 am on Nov 27, 2007 (gmt 0)

10+ Year Member



Hello everyone,

I have a web application up and running on localhost. Now my manager wants to view it on the web browser through his system.

We tried using the ip address, computer name. Still it doesnt work. My manager is in the same network as mine.

I am using xampp package which contains apache,php,mysql.

Please help!

phparion

5:32 am on Nov 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



if your site works on localhost/site_folder_name URL, then just write IP address of your pc which has this site and /site_folder_name.

If your pc is on the network you should be able to see your site on other pcs.

ksugam

4:52 pm on Nov 27, 2007 (gmt 0)

10+ Year Member



I tried using the ip address but it doesnt work. i even tried using the computer name, still it didnt work.

I have my files in c:/xampp/htdocs.

Do i have to put my files in a different folder and then try to access it?

phparion

6:38 am on Nov 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



your httpdocs folder works with localhost. if the site works on your pc with localhost reference it must work on the network.

Please make sure your pc is on the network and have no policy to stop other pcs calls to access files on your pc.

azazello

10:34 am on Nov 28, 2007 (gmt 0)

10+ Year Member



If your httpd.conf document root entry (<Directory "C:/xampp/htdocs">) contains :-

Deny from all
Allow from 127.0.0.1

add your local network to the list e.g.

Allow from 192.0.0.

ksugam

12:58 am on Nov 30, 2007 (gmt 0)

10+ Year Member



hello,
my httpd.conf file has the following:

Order allow,deny
Allow from all

it still doesnt work.

any other suggestions?

phparion

5:28 am on Dec 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Say your site is hosted on PC A and you are trying to reach it from PC B over the network. Try the following and let me know about the outcome,

1 - ping PC A from PC B.
2 - share a folder on PC A and copy some files. Access these files from PC B then.

things you need to tell me are,

a - Do you get reply from PC A on pinging it from PC B or you get time out error or host not reachable etc?

b - can you open PC A files on PC B or you get policy / permission error?

mjwalshe

5:01 pm on Dec 3, 2007 (gmt 0)

10+ Year Member



Have you checked you are not being blocked by any firewalls on the pc?

ksugam

5:37 pm on Dec 3, 2007 (gmt 0)

10+ Year Member



Hey phparion,
We tried pinging my ip from other computer and we get the response.
Regarding sharing a folder, i am not able to do it coz i don't have the admin rights, i am a user.
I also cannot checke my firewall settings coz i am a user and not admin.

Someone suggested me to add my ip in the virtual host list, Do i have to add my ip in the virtual hosts list?

awaiting reply

Thanks!

phparion

5:10 am on Dec 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You are not administrator of NETWORK or your own PC? I still believe you can share a folder on your PC and access it on other PCs on the network... By the way if you are doing legal work then why don't you ask your network administrator to give you full permissions?

yes add your site to the network group / virtual host, where you can share your files.

One more thing, if you are not the Administrator of your PC, I think and could be wrong, you can cannot browse your site with localhost reference unless your PC admin permits you to do so....