I’m trying to get my project running on a fresh install of Ubuntu Server 22. I have everything loaded and setup up, but cannot seem to get URL Rewrite working - I think this is the problem? I’m getting an HTTP error 500. I’ve confirmed that URL Rewrite is running, rewrite engine is on, confirmed .htaccess files are generated and in the root. Tried a test directory with a .htaccess that just had rewrite engine on…
What am I missing?I’ve confirmed that url rewrite is loaded and working in a test directory. Here are the rules for my virtual host file:
<VirtualHost *:80>
ServerAdmin xxx@gmail.com
ServerName xxx.com
ServerAlias www.xxx.com
DocumentRoot /var/www/xxx.com
<Directory /var/www/xxx.com>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Anybody have any tips? I’ve been working on this all day! Thanks!