z***@gmail.com
2018-07-25 22:39:57 UTC
Hello Everyone.
I am having quite a lot of difficulty trying to enable SSI on an apache instance running on my laptop for development purposes - it's day three - and I'm starting to feel a little slow-witted. I've already run `a2enmod includes`, restarted the service (a few times), and I've amended the apache2.conf file as follows:
<Directory /var/www/>
Options Indexes FollowSymLinks Includes
XBitHack on
AllowOverride None
Require all granted
</Directory>
Because I'm using XBitHack, I set the xbit on my test file (at /var/www/html/index.html) with `chmod +x index.html` from within that directory. The actual symptom is that my test page will load but the SSI instruction was not parsed - no text appears where it should, and the SSI command code is still visible in the page code as a comment.
That command was: <!--#echo var="DATE_LOCAL" -->
Unfortunately I need SSI to continue my work, so I'm wedged here. I'd like to able to do this with apache as it would save me changing the production server as well.
If this is a super obvious problem, I apologise, but unfortunately I just don't see what I've done wrong.
I am having quite a lot of difficulty trying to enable SSI on an apache instance running on my laptop for development purposes - it's day three - and I'm starting to feel a little slow-witted. I've already run `a2enmod includes`, restarted the service (a few times), and I've amended the apache2.conf file as follows:
<Directory /var/www/>
Options Indexes FollowSymLinks Includes
XBitHack on
AllowOverride None
Require all granted
</Directory>
Because I'm using XBitHack, I set the xbit on my test file (at /var/www/html/index.html) with `chmod +x index.html` from within that directory. The actual symptom is that my test page will load but the SSI instruction was not parsed - no text appears where it should, and the SSI command code is still visible in the page code as a comment.
That command was: <!--#echo var="DATE_LOCAL" -->
Unfortunately I need SSI to continue my work, so I'm wedged here. I'd like to able to do this with apache as it would save me changing the production server as well.
If this is a super obvious problem, I apologise, but unfortunately I just don't see what I've done wrong.