Already in the/etc/apache2/httpd.conf.
Removed the
The previous comment symbol, phpinfo () function shows that the rewrite module is loaded
Add at the end of the httpd.conf file
RewriteEngine onRewriteRule ^/t_(.*).html$ /test.php?id=$1
Rewrite does not work when testing, 404 error occurs
Enter the address:
Http://localhost/~gipanda/projects/t_test.html
Error display:
The requested URL/~gipanda/projects/t_test.html is not found on this server.
May I ask what this is for?
Reply content:
Already in the/etc/apache2/httpd.conf.
Removed the
The previous comment symbol, phpinfo () function shows that the rewrite module is loaded
Add at the end of the httpd.conf file
RewriteEngine onRewriteRule ^/t_(.*).html$ /test.php?id=$1
Rewrite does not work when testing, 404 error occurs
Enter the address:
Http://localhost/~gipanda/projects/t_test.html
Error display:
The requested URL/~gipanda/projects/t_test.html is not found on this server.
May I ask what this is for?
Into the. htaccess file under the current project folder.
How to solve the same problem