Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
On Wed, Feb 25, 2015 at 2:45 AM, Oliver Graute wrote: > [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client > 192.168.2.99:51 This line was incomplete in your email. -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
Hello Eric, sorry here the full log. [Tue Jan 06 19:23:09.446724 1970] [authz_core:debug] [pid 1397] mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: authorization result of Require all granted: granted [Tue Jan 06 19:23:09.447385 1970] [authz_core:debug] [pid 1397] mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: authorization result of : granted [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client 192.168.2.99:51306] AH00129: Attempt to serve directory: /var/www/ html and jpg files won't work, only php files... Thx Oliver On Wed, Feb 25, 2015 at 1:11 PM, Eric Covener wrote: > On Wed, Feb 25, 2015 at 2:45 AM, Oliver Graute > wrote: >> [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client >> 192.168.2.99:51 > > > This line was incomplete in your email. > > -- > Eric Covener > cove...@gmail.com > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
On Wed, Feb 25, 2015 at 7:49 AM, Oliver Graute wrote: > 192.168.2.99:51306] AH00129: Attempt to serve directory: /var/www/ If you expect index.html to be served when your request a directory, you need DirectoryIndex. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [users@httpd] Apache 2.4.12 don't serve me the index.html
.htaccess file in the site root directory: AddType text/html .html AddHandler server-parsed .html > Date: Wed, 25 Feb 2015 13:49:41 +0100 > From: oliver.gra...@gmail.com > To: users@httpd.apache.org > Subject: Re: [users@httpd] Apache 2.4.12 don't serve me the index.html > > Hello Eric, > > sorry here the full log. > > [Tue Jan 06 19:23:09.446724 1970] [authz_core:debug] [pid 1397] > mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: > authorization result of Require all granted: granted > [Tue Jan 06 19:23:09.447385 1970] [authz_core:debug] [pid 1397] > mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: > authorization result of : granted > [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client > 192.168.2.99:51306] AH00129: Attempt to serve directory: /var/www/ > > html and jpg files won't work, only php files... > > Thx > > Oliver > > > On Wed, Feb 25, 2015 at 1:11 PM, Eric Covener wrote: > > On Wed, Feb 25, 2015 at 2:45 AM, Oliver Graute > > wrote: > >> [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client > >> 192.168.2.99:51 > > > > > > This line was incomplete in your email. > > > > -- > > Eric Covener > > cove...@gmail.com > > > > - > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > > For additional commands, e-mail: users-h...@httpd.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
I load the dir_module and tried thas directive without sucess DirectoryIndex index.html On Wed, Feb 25, 2015 at 1:53 PM, Eric Covener wrote: > On Wed, Feb 25, 2015 at 7:49 AM, Oliver Graute > wrote: >> 192.168.2.99:51306] AH00129: Attempt to serve directory: /var/www/ > > If you expect index.html to be served when your request a directory, > you need DirectoryIndex. > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
Hello, I tried the AddType and AddHandler directive but with no success. I placed them in the mime module block anc loaded the mime module. Then I added a simple .htaccess and restartet apache2 order allow,deny deny from 201.68.101.5 allow from all But if try to load index.html all I get is this: [Thu Jan 01 07:20:22.664417 1970] [authz_core:debug] [pid 490] mod_authz_core.c(809): [client 192.168.2.99:6340] AH01626: authorization result of Require all granted: granted [Thu Jan 01 07:20:22.664644 1970] [authz_core:debug] [pid 490] mod_authz_core.c(809): [client 192.168.2.99:6340] AH01626: authorization result of : granted [Thu Jan 01 07:20:22.669855 1970] [authz_core:debug] [pid 491] mod_authz_core.c(809): [client 192.168.2.99:6341] AH01626: authorization result of Require all granted: granted [Thu Jan 01 07:20:22.670085 1970] [authz_core:debug] [pid 491] mod_authz_core.c(809): [client 192.168.2.99:6341] AH01626: authorization result of : granted if I browse hello.php i got a succesfull page load with "hello world" but all html files or images won't work... /etc/apache/httpd.conf ServerRoot /usr/share/apache2 PidFile /var/run/apache2.pid Listen 0.0.0.0:80 LoadModule unixd_module /usr/share/apache2/modules/mod_unixd.so #LoadModule ssl_module /usr/share/apache2/modules/mod_ssl.so LoadModule authz_core_module /usr/share/apache2/modules/mod_authz_core.so LoadModule authz_user_module /usr/share/apache2/modules/mod_authz_user.so LoadModule authz_host_module /usr/share/apache2/modules/mod_authz_host.so LoadModule authn_core_module /usr/share/apache2/modules/mod_authn_core.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule mime_module /usr/share/apache2/modules/mod_mime.so LoadModule dir_module /usr/share/apache2/modules/mod_dir.so User www Group www ServerAdmin y...@example.com ServerName localhost DocumentRoot /var/www Options Indexes FollowSymLinks AllowOverride None Options FollowSymLinks AllowOverride None Require all granted DirectoryIndex index.html Require all denied ErrorLog "/var/log/apache2/error_log" LogLevel debug LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog "/var/log/apache2/access_log" common ScriptAlias /cgi-bin/ "/usr/cgi-bin/" AllowOverride None Options None Require all granted TypesConfig /etc/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType text/html .html AddHandler server-parsed .htmlAddType text/html .html AddHandler server-parsed .html SSLRandomSeed startup builtin SSLRandomSeed connect builtin LoadModule php5_module /usr/share/apache2/modules/libphp5.so SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source Include /etc/apache2/mod_ssl.conf On Wed, Feb 25, 2015 at 2:17 PM, Kes Wolfe wrote: > .htaccess file in the site root directory: > > AddType text/html .html > AddHandler server-parsed .html > > >> Date: Wed, 25 Feb 2015 13:49:41 +0100 >> From: oliver.gra...@gmail.com >> To: users@httpd.apache.org >> Subject: Re: [users@httpd] Apache 2.4.12 don't serve me the index.html > >> >> Hello Eric, >> >> sorry here the full log. >> >> [Tue Jan 06 19:23:09.446724 1970] [authz_core:debug] [pid 1397] >> mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: >> authorization result of Require all granted: granted >> [Tue Jan 06 19:23:09.447385 1970] [authz_core:debug] [pid 1397] >> mod_authz_core.c(809): [client 192.168.2.99:51306] AH01626: >> authorization result of : granted >> [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client >> 192.168.2.99:51306] AH00129: Attempt to serve directory: /var/www/ >> >> html and jpg files won't work, only php files... >> >> Thx >> >> Oliver >> >> >> On Wed, Feb 25, 2015 at 1:11 PM, Eric Covener wrote: >> > On Wed, Feb 25, 2015 at 2:45 AM, Oliver Graute >> > wrote: >> >> [Tue Jan 06 19:23:09.448167 1970] [core:info] [pid 1397] [client >> >> 192.168.2.99:51 >> > >> > >> > This line was incomplete in your email. >> > >> > -- >> > Eric Covener >> > cove...@gmail.com >> > >> > - >> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> > For additional commands, e-mail: users-h...@httpd.apache.org >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@htt
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
On Wed, Feb 25, 2015 at 8:58 AM, Oliver Graute wrote: > But if try to load index.html all I get is this: No errors. What URL exactly did you request and what was the exact response? Using wget/curl instead of a browser may simplify this debugging. -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache 2.4.12 don't serve me the index.html
Hello Eric, here the same request with curl curl --noproxy 192.168.2.1 http://192.168.2.1/index.html curl: (52) Empty reply from server curl --noproxy 192.168.2.1 http://192.168.2.1/hello.php PHP-Test Hallo Welt if i rename my index.html to index.php i get a response curl --noproxy 192.168.2.1 http://192.168.2.1/index.php http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Tainy IQ-S Protoplasm.use('datepicker');//.transform('input.datetimepicker', { timePicker: true, use24hrs: true }); On Wed, Feb 25, 2015 at 3:22 PM, Eric Covener wrote: > On Wed, Feb 25, 2015 at 8:58 AM, Oliver Graute > wrote: >> But if try to load index.html all I get is this: > > > No errors. What URL exactly did you request and what was the exact > response? Using wget/curl instead of a browser may simplify this > debugging. > > -- > Eric Covener > cove...@gmail.com > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Re: Apache 2.4.12 don't serve me the index.html
On 25/02/2015 13:58, Oliver Graute wrote: I load the dir_module and tried thas directive without sucess DirectoryIndex index.html I have got like this in my conf file: DirectoryIndex index.php index.html However, yours should work, so something else isn't right.
RE: [users@httpd] Compiling Apache 2.4.10 with openssl 0.9.8j
I finally figured out why this wasn't compiling for me. I was missing /usr/lib64/pkgconfig/openssl.pc. Once I figured out that I needed libopenssl-devel package, I was able to successfully compile Apache. Daryl From: darylr...@outlook.com To: users@httpd.apache.org Date: Tue, 24 Feb 2015 14:31:26 -0600 Subject: [users@httpd] Compiling Apache 2.4.10 with openssl 0.9.8j I'm trying to build Apache 2.4.10 with the system level openssl, which is version 0.9.8j, but I continuously get an error telling me that the version of openssl is to old. I get to the point where the configuration script is looking for openssl and then it fails. The message that I receive is: checking for OpenSSL version >= 0.9.8a... FAILED I read through the mod_ssl documentation, and it appears to me that 0.9.8 will work, but the configuration continues failing. My syntax: ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-ssl I did put openssl-1.0.1l on the system, and pointed to that install and Apache successfully compiled. Will Apache 2.4.10 compile with openssl 0.9.8j, or does it require a 1.0.1 level? Thank you Daryl
[users@httpd] Images Not Loading
Apache 2.4.10 that use to work fine. Then a power outage and now site images do not load. When you look at the error log: AH00529: /srv/www/htdocs/sites/sitename/images/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/www/htdocs/sites/sitename/images/' is executable My vhost has AllowOverride None so apache does not look for htaccess but images still dont load. Permissions on that site folder are: drwxr-xr-x 1 root root I also put a blank .htaccess file in that directory and reloaded apache with the same results. Why are images not loading?