About the wamp environment configuration, a wamp integration environment was downloaded a few days ago.
Put the project under the wamp www Directory,
You can access the home page through http: // localhost/project name
However, the homepage does not have a style.
Then I open the apache error log. A bunch of errors are reported:
There is no problem for me to run projects in my own environment at the company. Why can't I find css and js files in wamp?
By the way, js files and css files are stored in the project name/app/webroot folder.
This problem has plagued me for several days,
If you have solved similar problems, please give us some advice ..
I would like to thank you very much ..
Reply to discussion (solution)
This is the homepage opened through http: // localhost/project name ..
Not only is there no style, but clicking the link on the home page will prompt that the file cannot be found.
Php error prompt enabled
Isn't the apache rewrite module enabled? In httpd. conf, find:
; LoadModule rewrite_module modules/mod_rewrite.so
Remove the semicolon and restart apache before running it.
Php error prompt enabled
Isn't the apache rewrite module enabled? In httpd. conf, find:
; LoadModule rewrite_module modules/mod_rewrite.so
Remove the semicolon and restart apache before running it.
This is the case. the problem that plagued me for a few days has finally been solved. Thank you so much.