Current Page: 1 of 1
Results 1 - 2 of 2
10 years ago
jan6723
Issue solved by adding an .htaccess to root of WAMP with the following rules: Options +FollowSymlinks <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php </IfModule>
Forum: WampServer English
10 years ago
jan6723
When i use links with no extension fx.. <a href="/home">Load content of home</a> ..it works fine for .html-files - fx 'home.html' will get loaded. But it does not work when the file is .php - fx 'home.php' - the browser shows this error: "Not Found. The requested URL /html.html was not found on this server." How do i make WAMP load files with the extension
Forum: WampServer English
Current Page: 1 of 1