You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm using XAMPP server and I have simple htaccess to redirect to public folder. My router is not working correctly. If the uri is "/" it's working but when I type uri localhost/contact doesn't show the message or error and doesn't load. I got error from xampp server page not found. Even with out the htaccess file doesn't work. I also created virtual host but without results
Listen 81
<VirtualHost *:81>
DocumentRoot "F:\mvc\public"
<Directory "F:\mvc\public">
AllowOverride All
Require all granted
Hey, I'm using XAMPP server and I have simple htaccess to redirect to public folder. My router is not working correctly. If the uri is "/" it's working but when I type uri localhost/contact doesn't show the message or error and doesn't load. I got error from xampp server page not found. Even with out the htaccess file doesn't work. I also created virtual host but without results
Listen 81
<VirtualHost *:81>
DocumentRoot "F:\mvc\public"
<Directory "F:\mvc\public">
AllowOverride All
Require all granted
htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} /public/([^\s?]*) [NC]
RewriteRule ^ %1 [L,NE,R=302]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
The text was updated successfully, but these errors were encountered: