Friday, April 14, 2017

non /index.php routes work some of the times

So have installed apache24 and php 7.x on a windows server 2012 server. Using fastcgi so installed that module as well.

The problem I am having now is that when i take a route like the homepage and go to it. It shows the default apache "its working" sign. Now if i slam the refresh button a couple times the page will load fine. but always on the first load it loads default apache page.

Below is my vhosts which I had to add Indexes Followsym includes and execcgi just to get the site to load. Not sure what is going on here. Pulling my hair out! anyone run into this issue before?

<VirtualHost *:80>
<Directory />
    Options Indexes FollowSymLinks Includes ExecCGI MultiViews
    Require all granted
    AllowOverride All
</Directory>    
ServerAdmin email@email.com
DocumentRoot "c:/sites/sub.domain.com/public"
ServerName sub.domain.com
ServerAlias http://sub.domain.com
ErrorLog "c:/sites/logs/domain-error.log"
CustomLog "c:/sites/logs/domain-access.log" common



via Citti

Advertisement