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
Tag: apache
Setting Up Windows Authentication for Apache
To begin, I’ve been searching the internet for about an hour trying to find out how to do this with no success – therefore I’m writing this question. I have an intranet site that requires to access the users Windows Username (not the server running Apache, but a user accessing the intranet site). I have installed adLDAP and have it
Wamp : You don’t have permission to access file.html on this server
I tried to create a virtualhost to access to my local website using wampserver, but i get a 403 Forbidden when i’m trying to access to the webpage : I put the following line in my browser : …
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
Redirect http to https in Yii2 .htaccess
htaccess file which redirects my advanced Yii2 app to frontend index.php file for that there is already an .htaccess file. which has following lines.. This is Right Now my .HTACCESS at root directory …
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