Wamp server 3.2.0 sharing on local wireless network is not workin
Posted by: surflord (154.72.150.---)
Date: April 20, 2020 09:18AM

Hello

I need your help. Im trying to share Moodle 3.8 on my local wireless network

It's not working I tried to follow the tutorial at this address [zuziko.com]

but it isn't working.
On my android tablet, I can access access to localhost (Homepage WampServer)by typing the ip adress of the computer on which wampserver is sinstalled but not my moodle installation. I'm redirected to the hotspot main page

This is my configuration

Win 10
Wamp Server 3.2.0 64bits
Apache 2.4.4.1
PHP 7.4.0
Moodle 3.8
MariaDB 10.4.10

How can I solve the problem? can somebody help me to solve this issue. I really need it to present my project

Thanks

Options: ReplyQuote
Re: Wamp server 3.2.0 sharing on local wireless network is not workin
Posted by: Otomatic (Moderator)
Date: April 20, 2020 09:46AM

Hi,

Once again, a tutorial that didn't understand that giving external access to localhost is a wide open door to your server and even your system. localhost MUST remain local, so "Require local" from VirtualHost localhost MUST NOT be changed.

> I can access access to localhost
And you shouldn't!

Moodle has not been installed in a VirtualHost. All your local sites must be installed in a VirtualHost, as with all hosts, and the VirtualHost MUST exist BEFORE the CMS or web application is installed.

See:
- The need for Virtual Host
- Wampserver 3 - Create or add a VirtualHost
- Why to create a VirtualHost BEFORE installing a CMS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wamp server 3.2.0 sharing on local wireless network is not workin
Posted by: surflord (154.72.150.---)
Date: April 21, 2020 08:58PM

Hello thanks for you reply

I did everything correctly. Created Virtual host

When indicating path during virtual host creation I closed the path with a "\" like:

C:\Users\\2020\Moodle Repository\

The CMS is running correctly on my laptop but whant I wanted to share by wifi. The sharing did't work. i can't

access my website on android tablet.

Is there any tutorial or indications I can follow to share my noodle site? All my work depend on that step

I hope you will find a way for me to do that

Thanks in advance!

Options: ReplyQuote
Re: Wamp server 3.2.0 sharing on local wireless network is not workin
Posted by: Otomatic (Moderator)
Date: April 22, 2020 09:19AM

Hi,

You need to change the Require directive in the VirtualHost moodle.

See the Apache documentation on this subject: Apache Require

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.