Quantcast
Channel: WampServer - WampServer Francais
Viewing all articles
Browse latest Browse all 3463

Wamp Not Found The requested URL was not found on this server (Pas de réponses)

$
0
0
I'm using wamp v3.3.0 and apache v2.4.54 and created vhost for a project so when I visit the index page it works normally but when I visit any other route for example admin.demo.development/topics/list I get

**Not Found
The requested URL was not found on this server.

Apache/2.4.54 (Win64) PHP/7.4.33 mod_fcgid/2.3.10-dev Server at admin.demo.development Port 80**

I have tried so many solutions and nothing changed

my vhost configuration looks like

<VirtualHost *:80>
ServerName admin.demo.development
DocumentRoot "c:/wamp/www/demo/public-admin"
<Directory "c:/wamp/www/demo/public-admin/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
my hosts look like

127.0.0.1 admin.demo.development
::1 admin.demo.development
LoadModule rewrite_module modules/mod_rewrite.so is allowed in the httpd.conf file

I also tried adding .htaccess file in the public-admin folder with these in it

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

I don't know what I should try more!

Viewing all articles
Browse latest Browse all 3463

Trending Articles



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