Accessing Apache web server over LAN

jammyr

Reputable
Sep 10, 2014
52
0
4,630
I am using WAMP server to run a local database CRM software. I want to access the database running on my PC from other machines in LAN. I am able to ping each other. I am able to access my shared folder from other PC. However when I try this \\ipaddress\c$ , I am prompted for a username/ password window. Though I am entering it correctly, I am getting access is denied error. not sure what is the issue.
upload_2017-6-26_21-41-29-png.70765


And also when I try to access the server from browser, getting no permission error. Any
upload_2017-6-26_21-46-6-png.70766
help would be appreciated
 
Solution
I fear you would have to redesign the site itself and urls you refer to within said pages.
After login, the setup should direct you to inside pages, either ipaddress/wordpress/stuff or just ipaddress/stuff but.. you have either old or mismatched reference to localhost/stuff there.
It might work when browsed locally on same computer but over network? no.
Just random thoughts to maybe get you forward:

access to $C and other letters is hidden file share, meant for administrators only.
restricted access to apache might be due to misconfigured firewall? (port 80 not open?)
As far as I'm aware, it should run itself on http:\\ip-address:80 by default, not as a folder structure, that would be FTP/windows share.
 
As @little_me mentioned, C$, D$ etc are "Adminsitrative" shares, and you have to provide administrator-level (for target machine) credentials.
Since Apache already answers the requests, the second issue is NOT because of firewall or port issue, pure Apache configureation.
Try first accessing the root of the server itself (withour "/BI")
 

jammyr

Reputable
Sep 10, 2014
52
0
4,630


I am using Administrator login. Couldn't access the root either. same issue
 
Since I don't have wamp installed, I have to rely on google. Alabalcho is right though, apache answers your website request so it's running, the permissions are maybe a bit wrong/need fine tuning.
There are a LOT of discussions about that as results.
https://stackoverflow.com/questions/19377476/forbidden-you-dont-have-permission-to-access-on-this-server-wamp-error


What we don't know yet and what you have not told include at least following:
what version you are running?
did you change default config files?
did you restart the service after changing config files (you need to do that to make the changes work)

If it all works from the computer you have it set up on, you would likely need to change the permissions in config files to allow more than local/127.0.0.1 access
Apache/WAMP permissions are completely different and separate from the ones windows/microsoft uses.

Edit: Also windows folder shares, including \\computername\BI and c$ are windows shares and completely separate from WAMP
you should in no way need those to access your database through browser.
 

jammyr

Reputable
Sep 10, 2014
52
0
4,630



what version you are running? Apache/2.4.23 (Win64)
did you change default config files? yes. changed httpd.conf phpmyadmin.conf and httpd-vhosts.conf
did you restart the service after changing config files ? yes, I am doing that.
 

jammyr

Reputable
Sep 10, 2014
52
0
4,630


the current issue I am facing is, when I access from remote machine using my IP, http://myipaddress/wordpress I am able to access the login page, but when I move to next page, the url changes to localhost and obviously the site is lost. what is the solution?
 
I fear you would have to redesign the site itself and urls you refer to within said pages.
After login, the setup should direct you to inside pages, either ipaddress/wordpress/stuff or just ipaddress/stuff but.. you have either old or mismatched reference to localhost/stuff there.
It might work when browsed locally on same computer but over network? no.
 
Solution

jammyr

Reputable
Sep 10, 2014
52
0
4,630


Yes. But it is a open source crm software, civicrm. I am sure they could have taken care of this by some simple tweaks. I will ask their forums