By testWorld
I am writting this message that I need you help about apache httpd.
Before all, I work on Linux RedHat Centos , I had :
I have many names domaines, www.site1.com, www.site2.com …etc and they all configurate very well and they works.
I have an existed project written by php in www.website1.com, I changed and transformed same project from php to symfony. So what I did ?
<Directory /var/www/www.site1.com/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
Require all granted
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
</Directory>
Then I saved the file and restart server httpd
So I go to browser web to check the website www.site1.com and I get an empty page and answer is “ERR_EMPTY_RESPONSE” PLZ, Do you have any idea to resolve this problem ? Thank you for reading. Best regards
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Do you see any errors in your Apache error log? Also it might be the permissions of the /var/www/www.site1.com/public you need to make sure that the httpd user has access to that folder.
Have you tried running a config test as well:
apachectl -t
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.