similar to: php config security concern for c5

Displaying 20 results from an estimated 2000 matches similar to: "php config security concern for c5"

2019 Dec 09
4
PHP handler for .html files - C7
Morning all, I am finally moving some old (F9 thru F17) servers to C7 (Plus PHP7/Pgsql10) boxes. On the old boxes they all had it set so that .htm and .html files were handled by PHP in addition to the normal .php files. This was done with the simple change to: AddHandler php5-script .php .htm .html AddType text/html .php .htm .html in /etc/httpd/conf.d/php.inc. I did the same on my first
2018 Nov 30
1
Php script not running
Hi All, I have centos 7. Apache and php are installed. CGI runs fine - php does not seem to run. I have the /etc/httpd/conf.d/php.conf file php.conf # # Cause the PHP interpreter to handle files with a .php extension. # <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> # # Allow php to handle Multiviews # AddType text/html .php # # Add index.php to the list of
2019 Dec 09
0
PHP handler for .html files - C7
> On Dec 9, 2019, at 3:38 AM, Gary Stainburn <gary.stainburn at ringways.co.uk> wrote: > > Morning all, > > I am finally moving some old (F9 thru F17) servers to C7 (Plus PHP7/Pgsql10) boxes. On the old boxes they all had it set so that .htm and .html files were handled by PHP in addition to the normal .php files. > I do not have an answer to you question, but I?m
2019 Dec 09
0
PHP handler for .html files - C7
Am 09.12.19 um 10:38 schrieb Gary Stainburn: > Morning all, > > I am finally moving some old (F9 thru F17) servers to C7 (Plus PHP7/Pgsql10) boxes. On the old boxes they all had it set so that .htm and .html files were handled by PHP in addition to the normal .php files. > > This was done with the simple change to: > > AddHandler php5-script .php .htm .html > AddType
2009 Jan 30
1
fcgi/suexec problem
I have a number of vhosts configured with SuexecUserGroup to run the scripts with limited privileges and the dept. web-site on one of them. The problem is the webmaster can't read online context help which comes with the cms the site is using. Most help files (>2K) have *.php.html extension. *.php and *.html scripts both work as I suspect they should, but when it comes to *.php.html suexec
2012 Jun 04
1
nodejs based website
Hello, I am trying to setup a node.js based website called 'hummingbird'. It's a monitoring package that you can read about here: http://projects.nuttnet.net/hummingbird/ My question is when I hit the site all I see is a directory listing http://107.21.183.42/hummingbird/ Similar to what would happen if you went to a php site without php being configured in apache with the
2006 Aug 13
1
Rewrite problem?
I''m not able to access anything in public, everything seems to be going through the rails router. As a result, I can''t get to stylesheets or javascript. I''m not quite clear if this is a .htaccess problem, or a router problem. I eliminated the "catchall" route, so the last route is map.connect '':controller/:action/:id'' My .htaccess file
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi
2007 May 17
3
Ubuntu rails server
Hello, I try to install on my ubuntu ruby on rails server. I have install ruby,rails,gem and all files but doesn''t work. When i run the server with webrick works perfect but when i use apache i get this message: We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly. Here are my installed app versions:
2006 Jun 30
1
running in production mode
I am running apache with mod_fastcgi on Linux - I would like to run my app in production mode, but I could not. Following is what I have in my httpd.conf. Can someone tell me why it does not recognize the env variable for production? The app always runs under development mode i.e ignores the RAILS_ENV directive. thanks/ thila. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/
2006 Jan 03
2
Apache FCGI and rails image issues help
Hi guys i am usin apache and the fcgi but it cannot see images? i have no idea why i need to leave them outside the public folder and to access the app i use localhost/public/app this is the only way i can c the image other wise its a routin error any ideaS? Its sounds like a rooting error i agree no prob this is my apache config as in the vhost <VirtualHost *> ServerName rails
2006 Jun 15
12
RoR on Apache2
Hello, I''ve been going though the "4 Days on Rails" tutorial at http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick server without problems. I''m trying to move the app to be seen by apache2, and am having some troubles. I''ve looked through many guides online which all say pretty much the same thing, which, I think, I am doing.
2005 Sep 28
2
fastcgi timeout settings
I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCgiConfig
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf: FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env RAILS_ENV=prod uction -processes 5 -idle-timeout 60 <virtualhost 212.87.142.234:80> ServerName www.gissmoh.de DocumentRoot /var/www/gissmoh.de/public CustomLog /var/log/apache2/gissmoh.de/access.log combined SetEnv RAILS_ENV production
2007 Feb 11
2
rails cache problems
I''m having issues with page caching in Rails 1.1.6 where it''s not always putting a .html extension at the end of the cached files (so I end up with files like 122.21 instead of 122.21.html). Then the next time it is served up via the web server (mongrel or apache) Firefox treats it as a binary file. I can''t find a fix for this so I was hoping there would be a
2014 Jul 07
0
enable caching in apache
hey all, I am serving up a couple of sites using apache with varnish sitting in front of it. When I check the headers for the site, this is what I'm seeing: [root at ops:~] #curl -I http://ref.mydomain.com/ HTTP/1.1 200 OK Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.6.0-dev Set-Cookie: PHPSESSID=rqetkvi6l54819fffdivkppo90; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help I have developed my Rails site under www.mydomain.com/home Now I want to map it to use www.mydomain.com, what should i change to this .htaccess file =============== Content of my .htaccess file under public directory ============ # General Apache options AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI # If you
2017 Aug 08
2
Troubleshooting php-fpm with apache on Centos 7
Hello, I am running httpd-2.4.6-45.el7.centos.x86_64 with php-fpm-7.0.22-1.el7.remi.x86_64 (on CentOS 7). My main problem: On this httpd server I have several vhosts running, but apparently I am facing intermittent problems with php-fpm communication on only one of them. Most of the sites are WordPress or Joomla Applications (running with mysql). Everything seems right: low load, all
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting: The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/ In the /public folder of my app I have the following .htaccess file: # General Apache options
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi, I''ve already posted my problem a few weeks ago on several forums, or lists. I still have the same problem: I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR working with fastCGI. I have installed different versions of fastCGI, have checked the permissions of the fcgi-ipc directory, reinstalled everything and it still doesn''t work. In the browser window I