Home > front end >  Thinkcmf5.1 installation lamp configuration problems
Thinkcmf5.1 installation lamp configuration problems

Time:10-09


The rewrite here I've been using a2enmod rewrite opened.
Also according to the official tutorial changed the conf file


Here changed

Tried something to now, no solution, don't know where the problem in the
Great god with me

CodePudding user response:

I found it!!!!!
3, add in the project root directory.
.htaccess file, modify the rewrite rules

RewriteEngine on

# don't show the index. PHP

RewriteCond % {REQUEST_FILENAME}! - d
RewriteCond % {REQUEST_FILENAME}! The -f
RewriteRule ^ (. *) $index. PHP/$1 [QSA, PT, L]

CodePudding user response:

  • Related