apache - Website keeps loading -
setup
- vagrant box (ubuntu 12.04 /
nfs mount
, performance purposes). - apache version apache/2.2.22 (ubuntu)
- cakephp 3 project.
vhost
took here.
<virtualhost *:80> servername www.kitchen.com serveralias www.kitchen.com kitchen.com documentroot /var/www/kitchen/webroot customlog /var/log/apache2/www.kitchen.com-access.log combined errorlog /var/log/apache2/www.kitchen.com-error.log options -indexes followsymlinks #disable htaccess starting @ / <directory /> allowoverride none </directory> <directory /var/www/kitchen/webroot/> rewriteengine on rewritebase / rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^(.*)$ index.php?url=$1 [qsa,l] <files sitemap.xml> rewriteengine off </files> </directory> </virtualhost>
all .htaccess inside project default ones
part of vagrantfile
config.vm.network :private_network, ip: "192.168.33.20" config.vm.synced_folder "./www", "/var/www", type: "nfs"
/etc/hosts on host machine
192.168.33.20 www.kitchen.com kitchen.com
- i able reach existing file (
www.kitchen.com/css/base.css
example). - when i'm trying load
www.kitchen.com
site keeps loading overtime.
i looked in logs (syslog, access logs, error logs, ...) nothing relevant ... checked apache user , project files permissions:
apache user/group: www-data(33)/33 $ (/var/www/kitchen) ls -la files: -rw-r--r-- 1 502 dialout folders: drwxr-xr-x 9 502 dialout
Comments
Post a Comment