I want to enter a project from another device, either a PC or a cell phone, I could see how I could do it with Apache from xampp and I was modifying the http-xampp.conf file and put this line at the end:
#
# New XAMPP security concept
#
# Close XAMPP security section here
<LocationMatch “^/(?i:(?:security))”>
Order deny,allow
#Deny from all
#Allow from ::1 127.0.0.0/8
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
# Close XAMPP sites here
<LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-
status|server-info))”>
Order deny,allow
#Deny from all
#Allow from ::1 127.0.0.0/8
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
Then from the other device I enter the ip address of my machine and the name of the project but it will not let me enter, I get this error:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or
is temporarily unavailable.
Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and
see which module is calling SetStatus. For more information about creating a
tracing rule for failed requests, click here.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/olPrueba2/index.php/Admin
Physical Path C:\inetpub\wwwroot\olPrueba2\index.php\Admin
Logon Method Anonymous
Logon User Anonymous
More Information:
This error means that the file or directory does not exist on the server.
Create
the file or directory and try the request again.
View more information »
and when I only load the ip address, that is, without the name of the project I want to enter, it loads me with normal xampp, that is if it is connected. can you help me solve this error or if you know another way to make my pc as a server would be very good for me ...
Thanks