Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Sat, 2012-04-21 at 13:38 +1000, Noel Butler wrote: Replying to ones self is a bad sign, but please forgive me its Saturday, and I've just returned from a HUGE lunch and are ready to curl up and have a nap :) But also check the DirectoryIndex option to ensure it has index.php ... *BUT* tha

Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Fri, 2012-04-20 at 22:39 -0400, John Iliffe wrote: > So, to recap the original question: > > - apachectl -M responds: php5_module (shared) > > - all PHP page requests are served as raw pages, not processed by PHP > > - config file contains: > LoadModule php5_modulemodules/libph

[users@httpd] PHP doesn't process pages

2012-04-20 Thread John Iliffe
Apache-2.4.1, PHP 5.4.0 new installation. PHP pages are being served as raw data, leading to a browser response "You have chosen to download a file of type php; what should FireFox do with this?" and an option to save or open with KWrite. I asked this question before and it was suggested that I

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Noel Butler
On Fri, 2012-04-20 at 11:50 +0200, Matthieu Moy wrote: > Noel Butler writes: > > > On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > > > > I tried the following: > > > > > > Order deny,allow > > Deny from all > > #RewriteEngine On > > #RewriteRule . - [F] > >

[users@httpd] mod_include

2012-04-20 Thread Grupo PF_Jorge Antonio Santiago Gonzalez
Hi, I am trying to compile the mod_include.c to get the shared object (mod_include.so) and put it in the http.conf, but I get the next error. Command: # /herramientas/apache_1.3.27/bin/apxs -c mod_include.c && /herramientas/apache_1.3.27/bin/apxs -i -a -n includes mod_include.so Error: gcc -DS

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-04-20 Thread enabors
Backend servers sending 503 status in the worker's header can be used in the balancer to mark it as Err. The config is like this w/ failonstatus=503 Header add Set-Cookie "BALANCEID=backend.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED ProxyRequests Off ProxyPreserveHost On B

Re: [users@httpd] VLC web player does not work when using apache - please advise

2012-04-20 Thread traveller
The path is not the problem: I tried all possible paths - relative, full path, windows path. I also tried to copy the video to the PHP code's directory so the video file and the PHP code were in the same place and no path was needed.  Also this same PHP code works fine with other video player.

Re: [users@httpd] VLC web player does not work when using apache - please advise

2012-04-20 Thread Marcin 'Rambo' Roguski
> I guess the player could not access the file. > How to fix it? I am not Apache expert. Please advise. Have you checked paths (local vs. relative, plugin location, etc.) in the html file? -- Marcin 'Rambo' Roguski - To unsubs

[users@httpd] VLC web player does not work when using apache - please advise

2012-04-20 Thread traveller
Hello, I was trying to use embedded VLC video player. I created a local HTML in my PC and it worked fine. However, when I was trying to access this same page from behind Apache server (http://localhost/my.html) the player did not work. I guess the player could not access the file. How to fix it

[users@httpd] Separate log for each of my modules.

2012-04-20 Thread Graf László
Hi, How can set up the httpd to have separate log files for each of my modules? Example: mod1_module (mod_mod1.so) ---> $MY_LOGS/mod_mod1.log mod2_module (mod_mod2.so) ---> $MY_LOGS/mod_mod2.log where the $MY_LOGS is not necessary the HTTPD's log folder. Best regards, grafl --

RE: [users@httpd] Apache 2.4.2: installed -deps tarball, but still get "configure failed for srclib/apr"

2012-04-20 Thread Shuvalov Roman
Ok, after installing gcc and pcre-devel packages I was able configure apr properly Thanks, Roman. From: Shuvalov Roman [mailto:rshuva...@hotmail.com] Sent: Friday, April 20, 2012 1:33 PM To: users@httpd.apache.org Subject: [users@httpd] Apache 2.4.2: installed -deps tarball, but still get "confi

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Matthieu Moy
Noel Butler writes: > On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > > I tried the following: > > > Order deny,allow > Deny from all > #RewriteEngine On > #RewriteRule . - [F] > > > It should work, but unless there's a special need, you should be using

[users@httpd] Apache 2.4.2: installed -deps tarball, but still get "configure failed for srclib/apr"

2012-04-20 Thread Shuvalov Roman
Hi, I am installing Apache 2.4.2 on CentOS 6.2 (x64, minimal). I also installed -deps tarball as FAQ advised, but still getting error "configure failed for srclib/apr". Here is my script: [root@master ~/apache24]:>ll total 8.8M drwxr-xr-x. 2 root root 4.0K Apr 20 13:04 ./ dr-xr-x---.

Re: [users@httpd] "Deny" directives silently ignored in config files

2012-04-20 Thread Noel Butler
On Wed, 2012-04-18 at 10:07 +0200, Matthieu Moy wrote: > I tried the following: > > > Order deny,allow > Deny from all > #RewriteEngine On > #RewriteRule . - [F] > > It should work, but unless there's a special need, you should be using directory not location, for apache 2.2.22 and less: