Page 1 of 1

How do I enable remote access to a directory

PostPosted: 02. October 2018 19:10
by adorah
I've installed for the first time xampp on Windows 7 32 bit to run a crm, that normally I install on Linux.
Alas it seems directories in htdocs folder can be accessed only locally and not from a remote ip. How do I enable access remotely in Apache. The router is properly configured and points to the proper port on Apache server

Re: How do I enable remote access to a directory

PostPosted: 03. October 2018 10:23
by Altrea
No, htdocs resources are not restricted to local access only by default.
There are only a few parts that can only be accessed locally like phpmyadmin or server-info

Re: How do I enable remote access to a directory

PostPosted: 07. October 2018 21:03
by adorah
When I connect from an external address the address changes to
http://localhost/vtigercrm/
And the text is
This site can’t be reached
localhost refused to connect.
Search Google for localhost vtiger crm
ERR_CONNECTION_REFUSED

I disabled firewalls on both addresses and I still can access the /dashboard.
This time I didn't touch httpd.conf just use the default port on a dedicated connection with no machine connected
Any advice?

Re: How do I enable remote access to a directory

PostPosted: 07. October 2018 22:23
by Altrea
adorah wrote:When I connect from an external address the address changes to
http://localhost/vtigercrm/

That is a vtiger issue, not a xampp issue.
Somewhere in your application is defined what the base url is and this is set to localhost.

Re: How do I enable remote access to a directory

PostPosted: 08. October 2018 19:21
by adorah
Bingo. I changed indeed the URL in vtigercrm and it worked. Thx. Problem solved