You are not logged in.
Pages: 1
I'm trying to extend my web development skills and learn some framework. I'm created simple symfony and zend projects.
The problem is every time I setup new virtual host in /etc/httpd/conf/vhosts/ and /etc/hosts, apache keep serving me previous project I was working on.
E.g. I've just setup new zend project: zend01.local in /srv/zend/test01 directory. What I can see in my web browser on http://zend01.local/ url is symfony welcome page saying: "Your application is now ready. You can start working on it at: /srv/symfony/cms/"
Previously after some struggling and restarting httpd apache started serving correct page, but I don't know what I exactly did that it started working
I tried htcacheclean, but I don't think it is a right shot, as I don't have mod_cache module enabled.
Last edited by ffurbo (2016-09-21 19:18:20)
Sorry for my English
Offline
Restarting the httpd service should apply vhost changes.
Offline
I have already tried "sudo systemctl restart httpd" a few times, but still not working.
Sorry for my English
Offline
Did you remember to include the new vhost config file in httpd.conf?
What is the output of: httpd -S?
can you post the contents of httpd.conf and vhost config files, as well as relevant hosts entries?
Offline
Already found issue in my config. I thoughtlessly pasted vhosts from zend tutorial and I had <VirtualHost *:80> instead of: <VirtualHost zend01.local:80>.
Thank you for your help.
Sorry for my English
Offline
Pages: 1