Hello,
I am just getting back into Yii after being away from it for about a year and I have forgotten a lot of things! I am trying to install Yii 2 basic and I am getting an HTTP 500 Error. I have done a few things:
I have included a httpd.conf document to my apache2.conf file.
Within my httpd.conf I added the following (I made the changes on the paths):
Set document root to be "basic/web"
DocumentRoot "path/to/basic/web"
<Directory "path/to/basic/web">
# use mod_rewrite for pretty URL support
RewriteEngine on
# If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward the request to index.php
RewriteRule . index.php
# if $showScriptName is false in UrlManager, do not allow accessing URLs with script name
RewriteRule ^index.php/ - [L,R=404]
# ...other settings...
</Directory>
After doing this, I am still receiving a HTTP 500 Error. Do you all have any solutions?
I appreciate it!