Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : ampps + RewriteRule + 50xError



Threaded Mode | Print  

 ampps + RewriteRule + 50xError, ampps + RewriteRule + 50xError (1 Replies, Read 1805 times)
bgva
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi, I have this code in my

.htaccess:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

index.php:

<?php
echo $_GET['url'];


But it is not working, I dont know  what to do. Please your help

PHP version: 7.0
ampss version: 3.5
SO: windows 10



IP: --   

ampps + RewriteRule + 50xError
bgva
Group: Member
Post Group: Newbie
Posts: 2
Status:
The solucion:

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

instead of: RewriteRule ^(.+)$ index.php?url=$1 [QSA, L]
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 1:31 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.022