djtide Posted June 8, 2018 Share Posted June 8, 2018 Trying to get first installation running and no page except index is showing up. Every other link 404's. Have an .htaccess file and mod_rewrite enabled, use_friendly_urls is on, but nothing seems working. I'm wondering if it's some PHP not sending variables type of issue. <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Link to comment Share on other sites More sharing options...
djtide Posted June 8, 2018 Author Share Posted June 8, 2018 To answer my own question, place this in 000-default.conf in Apache: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.