# Stop inserting "index.php" with Apache + fastcgi?

**URL:** <https://help.nextcloud.com/t/stop-inserting-index-php-with-apache-fastcgi/9543>\
**Category:** ℹ️ Support\
**Created:** [March 1, 2017, 4:26pm UTC](https://help.nextcloud.com/t/stop-inserting-index-php-with-apache-fastcgi/9543 "2017-03-01T16:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![MauroCV](https://help.nextcloud.com/letter_avatar/maurocv/32/5_5575768a8748004e209b776fc1b2916d.png) [@MauroCV](https://help.nextcloud.com/u/MauroCV)\
**Post date:** [April 25, 2017, 12:16am UTC](https://help.nextcloud.com/t/stop-inserting-index-php-with-apache-fastcgi/9543/19 "2017-04-25T00:16:03Z")

</div>

Are you using a Self Signed Certificate? I also followed this instructions [Remove /index.php/ from the url](https://help.nextcloud.com/t/remove-index-php-from-the-url/2611/6) until I realized I was using the SSL website so I just add the code to the apache virtual host, in my case nextcloud-ssl.conf

config.php file:

\<?php $CONFIG = array ( 'htaccess.RewriteBase' =\> '/', Apache for both virtual hosts: Options +FollowSymlinks AllowOverride All Dav off SetEnv HOME /var/www/nextcloud SetEnv HTTP\_HOME /var/www/nexcloud Satisfy Any

---

_[View the full topic](https://help.nextcloud.com/t/stop-inserting-index-php-with-apache-fastcgi/9543)._
