Skip to content
Advertisement

Tag: apache

Symfony framework install 406 Not Acceptable Error w/CPanel & WHM

So I am trying to get Symfony working on my server by following these install instructions. http://symfony.com/doc/current/book/installation.html#book-installation-permissions I got to the part where I ran this command in console in the directory where I wanted the framework to be installed. symfony new my_project_name I then followed these instructions to set my web root directory to /web as I believe I’m

Keep query string for external urls

A user can be sent to the main website by some referral id, using a query string: And when they click on a link to a login area, this query string must go with that external link: I am working with wordpress, so I cannot append ?ref=<?php echo $_GET[‘ref’]?> to that link. I have already changed .htaccess to: Every link

php file automatically renamed to php.suspected

Since last 4 days, we are facing strange issue on our Production server (AWS EC2 instance) specific to only one site which is SugarCRM. Issue is /home/site_folder/public_html/include/MassUpdate.php file is renamed automatically to /home/site_folder/public_html/include/MassUpdate.php.suspected This happens 2-3 times in a day with 3-4 hours of gap. This issue occurs only in case of specific site, even it doesn’t occur for staging

Apache does not have write permission on html folder

I installed apache, MySQL, PHP in CentOS 7. All work well, except apache cannot write file in html folder. I found this problem when I used file_put_contents. I tried Change owner of /var/www to apache:apache, not work Added Order allow,deny Allow from all to <Directory “/var/www/html”> in httpd.conf, restart httpd service, not work chmod -R 0777 /var/www/html, not work What

how hide extension of my php files

I`m trying to hide my php files extension in my hosted server.i add following code segment in .htaccess file. but when i try, it is not working. also i tried to do the same thing in my localhost.it is also not working properly. so do i have to make any other changes to work on it? Answer Use

Where do I install the Pico CMS files?

The install docs for PicoCMS say First download and extract the latest version of Pico. Upload the files to your server (via FTP or some other deployment). That’s it. Tweak the .htaccess file if required. For step 2, into which folder do I upload/copy the files? There’s several choices for us novices! On my Windows/XAMPP setup, copying the files into

Apache/PHP returns HTTP Status Code 200 on error pages

I’m running PHP 5.4 on CentOS 7 and when there is a php file that throws an error (either an exception, or a syntax error) it returns an HTTP 200 status code instead of 500. How can I get it to return a 500 server error when PHP encounters an error? I’ve tried looking at other Stackoverflow posts, and they

Advertisement