.htaccess
is working fine. If I manually type url.com/about
it shows the page. If I manually type url.com/asdf
it shows 404 template page.
url.com/index.php/testPathInfo
shows success
general.php has
return array(
'*' => array(
'omitScriptNameInUrls' => 'true',
),
...
but when templates contain {{ url('about') }}
or {{ entry.url }}
I get url.com/index.php?p=whatever-this-is-supposed-to-be
I'm probably missing something easy and obvious but I've been staring at it all morning. Could it still be the mod_rewrite enabled thing even though it's rewriting fine?
.htaccess content
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
RewriteRule (.+) index.php?p=$1 [QSA,L]
</IfModule>
AuthType Basic
AuthName "*DEV*"
AuthUserFile /home/username/public_html/dev/.htpasswd
Require valid-user
.htaccess
file contents?