Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

rewrite is not working in virtual host (1 reply)

$
0
0
Version 3.1.9 - 64bit

Virtual host config -

<VirtualHost *:80>
ServerName emp.lcl
DocumentRoot "c:/wamp64/www/emp"
<Directory "c:/wamp64/www/emp/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
RewriteEngine on
RewriteRule "^/api/employee/search/(.*)$" "/api/employee.py"
</Directory>
</VirtualHost>

Virtual Host is working fine. When i am trying to access the url instead of redirecting it is showing me below 404 error

The requested URL /api/employee/search was not found on this server.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>