DevHeads.net

Apache

Apache not responding to external requests

This is strange. I did a fresh install of CentOS 6.4 on a virtual
server and then did a yum install httpd.

The apache server responds to local requests but not requests
over eth0. I checked the Listen directive in httpd.conf and
it is not restricted.

Did something change in the default configuration of httpd
to stop it from listening on eth0?

It used to work out of the box every time I did an install, but it
seems something is different with the release of CentOS 6.4.

Thanks,
Neil

Root cause for drop in connections being served - performance issue or normal queueing behaviour?

Dear Apache user Community,

I searched apache-related user forums but still could not find a
comprehensible explanation whether the following behaviour was caused
by the maxclient-setting being reached & subsequent queueing or
performance issues of the webserver. The attached diagramm is a
visualization of the httpd-access log.

It shows the amount of requests per httpd-code per minute.

The webserver experienced a sharp rise in requests until it hit 3000
requests per minute.

mod_cache + mod_rewrite: issue with caching rewritten urls

Hi, list!

I've noticed a strange behavior of mod_cache when URL is rewritten.
It caches pages, based on rewritten URL, but not original URL.
This cause that the same data is stored for different URL's, rewritten
to the same resulting URL (see the example below).
Is there a way to change this behavior and force mod_cache to cache
using the original URL?

Tested on Apache 2.2 and 2.4

Example mod_cache settings:
CacheDefaultExpire 60
CacheEnable disk /
CacheIgnoreNoLastMod On
CacheRoot /usr/local/apache24/cache

Rewrite rule (example from WordPress, Joomla, etc.):
RewriteEngine on
R

Regarding 409 conflict coming from APACHE HTTP SERVER.

Hi All,

I have written my own module on top of the HTTP server. When i do POST with
the big content , the APACHE HTTP server sending the 409 conflict.
If i run the HTTP Server in GDB , it is working fine. Is there is any
configurable parameter is there to tell the content size.

Please help me to resolve this issue.

Thanks,
Venkat

2.4 mime magic gives 100 pc utilization

As subject says, we are experiencing 100% utilization of some 2.4.4 servers

this always results in error from mod_mime_magic
it happens on ISO files as well - the biggest issueon mirror server,
but an example is
mod_mime_magic: read failed from uncompress of /ftpmirrors/bind/mkdir

tested this myself from home, and lynx reports waiting for content,
just sits there forever, whilst cpu on server goes into overdive

never had this problem on earlier versions.

worker.c config in prefork.c module

I am working on apache the following apache 2.2.15 server on redhat with
the prefork.c module compiled in(see below).

Redirect HTTP to HTTPS does not work (mod_rewrite)

Hi,

I'm trying to configure a specific application (developed in Python/Django)
to run only through HTTPS, what I need is redirect a specific directory to
HTTPS:

FROM

<a href="http://myserver.com/dashboard" title="http://myserver.com/dashboard">http://myserver.com/dashboard</a>

TO

<a href="https://myserver.com/dashboard" title="https://myserver.com/dashboard">https://myserver.com/dashboard</a>

I created some redirect rules on apache httpd.conf like that:

RewriteCond %{HTTPS} !=on

RewriteRule ^/dashboard$ https://%{SERVER_NAME}/dashboard [R=301,L]

The redirect from HTTP to HTTPS is working fine... but after redirected to
the HTTPS address the login page does not work anymore...

Apache2 with mod_chroot - mysql problem

Hey all,

I use mod_chroot with my Apache/2.2.16 (Debian) version. While switching on
/etc/init.d/apache2 start there is the mysql connection. All my pages
connect without any problem. While I do apache2ctl -k graceful my pages
doesn't get the connection to mysql anymore.

My chroot folder is /var/www/ and I did the bind from /var/run/mysqld to
/var/www/var/run/mysqld. I believe it should work but it doesn't.
While looking at log there is no information about any mysql issue.

Any idea?

Regards,
Karol

Apache 2 Mod_Chroot problem

Hello,

I believe I have something misconfigured. I use Apache/2.2.16 (Debian) with mod_chroot. I know that the 'apache2 restart' command does not work correctly while using mod_chroot.
I have noticed that every sunday the Apache is shutting down. While looking at logs there is nothing.
Is it true that Apache in some intervals restarts itself (like every sunday)? That would explain why it switches off every sunday.

Re: [users@httpd] fedora - apache

Plugg -> socket for plugg for standard eth cable i.e.

/georg

right ifconfig only comes up with local loop i-f,

so does that mean there is no Hw on the machine for eth ?

Re: [users@httpd] Missing QUERY_STRING

the request string makes it to the log, but i can't access it from my cgi via environment vars

Received: Friday, April 12, 2013, 9:43 PM

Those really the same URL?

Strange Apache logs - very slow loading time

Hi All,

I need a help. I believe something is wrong.

htaccess priority

Hi

Is there any way to priorize one .htaccess file to the others?
I need to restrict users from a shared hosting server to change some configurations in the server.
I cannot use AllowOverride, because I need to permit to use the Rewrites directives but not
SetHandler and this directives are in FileInfo directive-type.

Thank you!

Biggest Fake Conference in Computer Science

We are researchers from different parts of the world and conducted a study on
the world’s biggest bogus computer science conference WORLDCOMP
( <a href="http://sites.google.com/site/worlddump1" title="http://sites.google.com/site/worlddump1">http://sites.google.com/site/worlddump1</a> ) organized by Prof. Hamid Arabnia
from University of Georgia, USA.

We submitted a fake paper to WORLDCOMP 2011 and again (the
same paper with a modified title) to WORLDCOMP 2012. This paper
had numerous fundamental mistakes. Sample statements from
that paper include:

(1). Binary logic is fuzzy logic and vice versa
(2). Pascal developed fuzzy logic
(3).

client disconnect (httpd 2.4.2)

We tried httpd 2.4.2 and mod_jk 1.2.37 with tomcat 7.0. One of our service is to download files. After httpd was upgrade from 2.2.19 to 2.4.2, we are not able to download large files (~2 GB). A download prematurely terminates. Below is the error message in tomcat log when it happens.

Missing QUERY_STRING

Hi everyone,

I'm new to web configurations etc. I hope someone can help me with this, I've been googling and reading docs for many hours.

I have Apache 2.2.19 which has been running fine, until I needed a new CGI which needed the QUERY_STRING from the Get (eg. <url>?SBC=A1...

root process running Apache

I am running apache2 with Ubuntu so that I can practice writing CGI/SQL
scripts with perl.
In ports.conf I have:

NameVirtualHost *:80
Listen 127.0.0.1:80

the intention being to limit access only to my laptop (keep the outside
world out).

I read several times "don't run apache as root".
ps -ef gives me the following:

root 1448 1 0 Apr11 ? 00:00:04
/usr/sbin/apache2 -k start
www-data 1712 1448 0 Apr11 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 1713 1448 0 Apr11 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 1714 1448 0 Apr11 ?

RewriteRule help

Would someone be so kind as to provide an example solution for the
following problem.

I would like all requests to the base url "/products/flash/**" redirected
to /flash/**

For example

/products/flash/awesomeness redirects to /flash/awesomeness
/products/flash/really/cool/stuff redirects to /flash/really/cool/stuff

and so on.

Thanks!

Dean Del Ponte

Core dump in Oracle HTTP Server build on Apache 1.3

Hi Folks,

Recently we are facing core dump in Oracle HTTP Server which is build on
Apache 1.3

Following is the output of httpd -V command

Server version: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server
Server built: Sep 22 2006 04:35:27
Server's Module Magic Number: 19990320:18
Server compiled with....
-D EAPI
-D EAPI_MM
-D EAPI_MM_CORE_PATH="logs/mm"
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED

Configuring Apache to forward requests to another (non-HTTP) process/port on host

Hi List,

I'm an Apache newbie.

I'd appreciate advise in configuring Apache (2.4.4) to forward traffic
(i.e. the entries to a web form) to an external process running on the
same host as Apache, but listening on a port say 4321.

Thanks,

- Olumide

Need Help Urgently: Printing access details in Apache Access logs

Hi

I am in search of any tool through which i can measure quality of service
of my sebservice which is being accessed through Apache .
My webservice is being deployed on tomcat and being accessed by Apache from
outer world.
The problem i am facing is My Customer uses apache's access logs to measure
the quality of service by just seeing the error codes 200 (for OK) and rest
others as NOK.

When my service raises any exception ex:object not found then its an OK
case in regard to my quality of web service but apache shows code as 500
and they assume that my web service quality is bad.

is there

SSL Proxy Tunnel to Tomcat SSL WebSocket

I had originally sent this to the dev list but it has seemed to stall
there, perhaps it is more appropriate on this list.

Should proxying requests from wss:// to an apache tomcat server using
wss:// work?

Chroot + ITK

Is there a way to get chroot and MPM-ITK to work in concert? chroot works
when I use prefork but with itk it seems to be ignored. I am using ubuntu
12.04 + apache 2.2.22-1ubuntu1.

mod_proxy integrate mod_cband apache http server

I have 3 machines. One installs apache, two other installs tomcat. I config
mod_proxy successful with them but when I config mod_cband, that seem to be
useless. Any one has idea?

Failure to start 2.4.4

Hello list,

I compiled version 2.4.4 from source and created an RPM package, I
used a spec file for a 2.2.3 package and changed it where required in
order to build successfully.
The httpd.conf file used was also for 2.2.3 (with minor changes as
defined in the section " Common problems when upgrading" from
<a href="http://httpd.apache.org/docs/2.4/upgrading.html" title="http://httpd.apache.org/docs/2.4/upgrading.html">http://httpd.apache.org/docs/2.4/upgrading.html</a>).

After going through some errors about modules, for which the solution
was described in the documentation, I'm left with a more obscure
error.
The only thing I can see is in /var/log/httpd/error_log A file
authdigest_shm.<pid> is also created

mod_proxy_html and AJAX call that returns HTML response?

I am attempting to front a 3rd party application, OpenStack Horizon, with an Apache reverse proxy. I have most of the Apache configuration working, except one page in the 3rd party application that has an AJAX call (JQuery). That page is broken because mod_proxy_html is adding <!DOCTYPE html><html><body> elements to the AJAX HTML response which is included on the page as a table row.

I am using a RHEL 6.3 server. The Apache is version 2.2.15 and the mod_proxy_html is version 3.1.2.

Currently facing some reverse proxy issues

Hello there,

I'll try to explain my issue as clearly as possible.
My architecture looks like this :
some web space <---> outside server (apache server) <---> application server

I've defined a VirtualHost on some outside server ip:port and then some
location inside this VHost. This configuration hosts 2 different locations
to be redirected on 2 different applciations on the application server
(App1 and App2).

Apache2 and Tomcat load balancing | Timeouts: request, connection, cping/cpong

Dear Apache2 community,

having installed Apache2 2.4.3 in combination with:
- mod_proxy_balancer (not "mod_jk"!)
- mod_proxy_ajp
- mod_proxy

and the following virtual host configuration:

BalancerMember ajp://rb-wcmstc1.de.bosch.com:8010 loadfactor=50 ping=5 retry=10 route=rb-wcmstc1 connectiontimeout=5 timeout=300
BalancerMember ajp://rb-wcmstc2.de.bosch.com:8010 loadfactor=50 ping=5 retry=10 route=rb-wcmstc2 connectiontimeout=5 timeout=300

to allow and setup a Tomcat 6 load balancing infrastructure, we regularly see the above configured timeouts in seconds (see <a href="http://ht" title="http://ht">http://ht</a>

locating cgi-bin

I'm missing something, probably simple, so assistance appreciated. Apache
2.2.22 on Ubuntu 12.04(LTS) server.

AuthDBMGroupFile in v2.4 - being ignored?

Hi,

I am using v2.4.4 of httpd compiled by ApacheLounge (running on Windows Server 2003, in case that's significant) and am trying to get the "Require group" directive working with basic authentication and the "dbm" provider.

Apache tuning assistance request

Hello!

We are using Apache as a front end for communication to a number of devices using TR69 (SOAP over HTTP). In order to resolve a problem with a particular device, I need to enable KeepAlive, but upon doing so I find that a number of our other devices drop connection to the server until they are rebooted.

Hung balancer members on HTTPd

Hi,

When a hung balancer member becomes unresponsive, is there a way to
configure mod_proxy_balancer to stop sending traffic to the http member?

In our case, we periodically have a hung balancer member caused by an error
in our application, but while this is being resolved, we are trying
configure HTTPd 2.2.15 with mod_proxy and mod_proxy_balancer so that when a
balancer member does not respond within a certain amount of time, the load
balancer will stop sending traffic to the member.

Apache on CentOS 6 -- lots of reading requests

I am facing a problem with Apache on CentOS 6

Apache 2.2.19 is complied from source.

I see so many reading requests in Apache status page, as per my previous
experience this "reading request" issue mainly comes when any of the
internet route having any problem and request takes time to completely
reach to Apache, but this time there is no network issue.

I have ran same setup on CentOS 5 it works well, but on CentOS 6 it show
60%+ reading requests, web site has 20-25 requests per second that becomes
80+

I also tried to upgrade Apache to 2.2.24 but it is same on new version as
well.

Anyone

AUTO: Prashans Mistry is out of the office (returning 10/04/2013)

I am out of the office until 10/04/2013.

Note: This is an automated response to your message "Re: [users@httpd]
Apache Not Redirecting" sent on 06/04/2013 6:04:34.

This is the only notification you will receive while this person is away.

Apache Not Redirecting

Apache 2.2.12 on sles11 sp2. We are trying to get users to access <a href="http://share.domain.com" title="http://share.domain.com">http://share.domain.com</a>. Apache has a VirtualHost file with redirectmatch ^/$ <a href="http://share.domain.com/share" title="http://share.domain.com/share">http://share.domain.com/share</a>
Apache seems to not be redirecting this.

How to configure RewriteRule to redirect a folder in my Joomla Website

Hello,

In my Joomla website I have the URL as follow:

<a href="http://www.mydomain.com/catalogue.html" title="http://www.mydomain.com/catalogue.html">http://www.mydomain.com/catalogue.html</a>
<a href="http://www.mydomain.com/catalogue/product1.html" title="http://www.mydomain.com/catalogue/product1.html">http://www.mydomain.com/catalogue/product1.html</a>
<a href="http://www.mydomain.com/catalogue/product2.html" title="http://www.mydomain.com/catalogue/product2.html">http://www.mydomain.com/catalogue/product2.html</a>

.... And so on

The thing I´d like to do, and I´m not able, is changing the word
"catalogue" in all URL by "XXXXX" where XXXXX is a SEO keyword for my
site. I´ve tried to do it using rewriterule but I can´t. At the moment
that´s what I have:

RewriteRule ^catalogue/(.*)$ http://mydomain/XXXXX/$1 [R=301,L]

but it doesn´t work.

filesmatch suspends AccessFileName?

Hello,

interesting thing here.

CentOS 5 / Apache 2.2 / mod_authnz_ldap issue

I am currently running CentOS 5.5 running httpd-2.2.3-76 and using mod_ldap
and mod_authnz_ldap to authenticate users against Active Directory. The
problem that I am running into is the web application that i am using with
Apache has no built in security abilities. So we have been using Apache's
HTTP Authentication to password protect the site. The issue I am having now
is before we had 1 single group that was allowed full access to the entire
site.

Trying to upgrade from 2.2.22 to 2.4.4

I am unable to get 2.4.4 to include mod_ssl.c

I am attempting to use my config.nice i used from 2.2.22

"./configure" \
"--prefix=/apps/httpd" \
"--enable-ssl" \
"--with-mpm=worker" \

AND adding in the newly required

--with-included-apr

so it now looks like this:

"./configure" \
"--prefix=/apps/httpd-2.4.4" \
"--enable-ssl" \
"--with-mpm=worker" \
"--with-included-apr" \

But i look in config.log and see this regarding mod_ssl:
configure:25320: checking whether to enable mod_ssl
configure:25332: result: shared

and httpd -l simply shows:
./httpd -l
Compiled in modules:
core.c
mod_so.

PHP-FPM with Apache 2.4, forward all request for all virtual host

Hi,

In Apache 2.2 <http://httpd.apache.org/docs/2.2/> forward all request that
point to phisical .php file to PHP-FPM <http://php-fpm.org/> is as follow:

LoadModule fastcgi_module <http://www.fastcgi.com/> modules/mod_fastcgi.so

FastCGIExternalServer /usr/sbin/php-fpm -socket
/usr/local/php/lib/php.sock -idle-timeout 900AddHandler php-fastcgi
.phpAction php-fastcgi /usr/sbin/php-fpm.fcgiScriptAlias
/usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm

But in Apache 2.4 <http://httpd.apache.org/docs/2.4/> is different, I'm
following the tutorial in Apache Wiki
<http://wiki.apache.org/httpd/PHP-FPM> but

file extensions for CGI

I am using RedHat 6.4 with Apache 2.2.15. I send a wget request to the server for /cobbler/pub/foo.to.

Problem with wildcard subdomains and ProxyPass

Hi,

I want to use Apache to proxy requests like domain.tld.MyDomain.tld to
domain.tld.

I've tried this :

<VirtualHost *:80>
RewriteEngine on
RewriteCond %{HTTP_HOST} (.*).MyDomain.tld$
RewriteRule (.*).MyDomain.tld$ $1
ProxyPassMatch /http://$1/
</VirtualHost>

But of course it doesn't work.
I've tried many other solutions, but no one works.

Do you have an idea of the manner to resolve my problem ?

Thanks by advance,

Thibaut

mod proxy balancer problem/question...

Greetings,
I am running httpd 2.2.23.0-64 with mod_proxy to load balance Tomcat
6.0.36.B containers. I have encountered a somewhat strange situation, and
I was wondering if anyone could comment and or propose an alternative.

I have a case where my tomcat containers have multiple webservice
applications deployed. Most of the deployments are stateless, but a few of
them require session stickiness at the proxy layer.

problem with header

Hi i am using apache2 on liunx.
i made up a module on php that sends header requests to the server.In
between i realized that i needed to run some remote php scripts also on my
server so i sent the header to the server as follows
GET <a href="http://www.google.com/" title="http://www.google.com/">http://www.google.com/</a> HTTP/1.1
but it is not working it is fetching the index page only
is there any way i could call into the remote scripts.I am using standard
sockets in php. It would be a great help if you could help me out with the
header format

regards
Rahul

Was there a final 2.3.x version of Apache?

Hi,

Per the subject, was there a final 2.3.x version of Apache? And, if so, where can I download the source?

All I've been able to find on the archives are alpha and beta versions.

Thanks,
Jim

Noob question

Hello everyone,
I tried to find an answer in the documentation section on the Apache site before i post this over here and i couldn't find a accurate answer.

I am trying to figure out if there's difference between the two methods below to install and configure Apache.

standard shutdown error apache mod_ossl

Hi,

We are facing very weird problem for one of our website. We are able
to access the problematic website using https protocol on Desktop
machines as well as on Android 2.X OS. We are seeing network error
when we are hitting the same URL from Android 4.X OS.

After enabling the debug logs, we are seeing following entries in the
ssl_engine_log

[31/Mar/2013 15:41:58 26881] [info] Connection to child 2 closed with
standard shutdown (server hostname:443, client x.x.x.x)

Need to understand why it is only happening with Android 4.X version
OS.

Apache fails to start when Xerces library is used in a C++ module

Hello,

I have written a C++ module to invoke the Xerces C++ XML library to parse a
XML file. I'm unable to start httpd.exe with these changes. Here are the
details -

a) Apache server version: httpd-2.4.4-win64
b) Xerces version: xerces-c-3.1.1-x86_64-windows-vc-10.0
c) Development envt: Visual Studio 2010 with SP1

Following are the settings I have made in Visual Studio so that the C++
module refers to the Xerces library:
1. Additional Include Directories =
E:\xerces-c-3.1.1-x86_64-windows-vc-10.0\xerces-c-3.1.1-x86_64-windows-vc-10.0\include

2.

Followup to [Bug 50028] (LDAP authentication with encrypted passwords)

Hi -

I've searched the archives and it looks like this was discussed back in
2010 with a "WONTFIX". I just wanted to make sure this is still the case.

Basically, using the mod_auth_ldap module, apart from using SSL (and
associated overhead), is it still the case that there is no way to
encrypt just the passing of username and password from the client
(browser) back to the server?

As others have pointed out, SSL is a fallback, but with associated
overhead.

Re: [users@httpd] Control of reverse proxy workers

I'd be interested to know this too.

I wound up writing a perl script using WWW::Mechanize to handle the
web scraping.
I allowed unauthenticated access from localhost and run the script locally.

My use case was I wanted which workers were enabled/disable to persist
after an apache restart and/or failover to another server.

-Alex

connection closed for event mpm?

hi, guys

i have come across a problem related to event mpm in apache(v2.4.3), that is
connection may closed during transfer for some times. when i change to prefork mpm, everything goes well...
i also try to set EnableSendfile & EnableMMAP to Off, but without work...

following is the full Scenario of the problem..

wget -O a.flv <a href="http://video.test.com/a.flv;" title="http://video.test.com/a.flv;">http://video.test.com/a.flv;</a> md5sum a.flv
--2013-03-27 18:15:51-- <a href="http://video.test.com/a.flv" title="http://video.test.com/a.flv">http://video.test.com/a.flv</a>
Resolving video.test.com... 192.168.1.100
Connecting to video.test.com|192.168.1.100|:80... connected.
HTTP request sent, awaiting response...

Apache httpd 2.4.4 many connections in Reading Request state

Hi,

i have weird problem with newly configured server.
I have running Apache 2.2.16(prefork) with php(module) 5.2.14 running
on CentOS5 for two years on my old server and last week i decided to
move to new server (CentOS6) and upgrade Apache to 2.4.4(prefork) and
php to 5.4.13.
On old server everything is working fine but when i route this traffic
(A DNS record of my domain) to new server then strange things are
happening.

For the first 30 seconds after httpd start everything is normal, and
then after 30 seconds about 25% of active connections are in "R"
(Reading Request) state.

Mod_proxy: Authentication-Info header lost in response

Ho I forgot,

I'm using mod_proxy_http and auth_digest.

Hi all,

I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7.
My apache is responsible for whole authentication(s).

Everything work fine except that when the proxy is used, the
Authentication-Info header is not included in the response. If Apache is
replying directly without using the proxy, it is included.

Is there a way to make Apache include this header if the proxy is used ?

Thanks !

Mod_proxy: Authentication-Info header lost in response

Hi all,

I've setup my apache (2.4.4) with mod_proxy. Final target is tomcat 7.
My apache is responsible for whole authentication(s).

Everything work fine except that when the proxy is used, the
Authentication-Info header is not included in the response. If Apache is
replying directly without using the proxy, it is included.

Is there a way to make Apache include this header if the proxy is used ?

Thanks !

MOSSCon in Louisville in May! Submit your proposal this week!

You are invited to be a speaker/presenter at MOSSCon.

Preparations are in full swing for the very first Midwest Open Source
Software Conference (MOSSCon), to be held in Louisville on May 18-19.
Your help in spreading the word and helping us fill out our schedule of
presentations and workshops would be appreciated.

This is going to be a great networking event for the whole region!

AUTO: Rick Swanson is out of the office. (returning 03/27/2013)

I am out of the office until 03/27/2013.

I will have very limited access to cell service during this time. For
quicker response, please contact the Web Hosting group at
<a href="mailto: ... at honeywell dot com"> ... at honeywell dot com</a>

Note: This is an automated response to your message "users Digest 26 Mar
2013 16:00:38 -0000 Issue 4560" sent on 03/26/2013 10:00:38.

This is the only notification you will receive while this person is away.

Configuration issue with mod_rewite

I seem to have a configuration problem in relation to mod_rewrite.
The issue appears to be that once the rewrite happens successfully the
request is some how overwritten by an operation following the rewrite.
I am not certain what the "following" operation is at this time.

The initial request is to the root of the server which opens the index
file, index.php

Next, index.php is programmatically requesting "/setup" via php redirect

Then, "/setup" is rewritten to "/setup/installer.php" via a mod_rewrite

Finally, the path is some how overwritten again to use the directory
index and the server

Request Handling (over to mod_jk) seems to take ages

Hi,

Can anyone help me understand why apache seems to take seconds for just handing a request over to mod_jk?

Some (Web-Service) Requests (1-2% overall) take between 2 and 45 (!) seconds according to apache request-log.

Cannot load modules/mod_access_compat.so into server:

Hello - on a Win 7 x64 laptop I have installed:
httpd-2.4.4-win32-VC9.zip

When I try to start it I get this:

C:\Apache24\bin> httpd -k install
Installing the Apache2.4 service
The Apache2.4 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd: Syntax error on line 72 of C:/Apache24/conf/httpd.conf: Cannot
load modul
es/mod_access_compat.so into server: The specified module could not be
found.

There are several other uncommented module lines in httpd.conf that get
the same message.

What am I missing?
T

How to run httpd server on random port on every bootup

Hi Guys,

I am using Apache httpd 2.4.3 server on my linux machine and my
requirement is to run server on some random port on every bootup which is
available in one text file to me . I have port.txt file under /home/mandar/
directory , i dont see any command line option to httpd to provide listen
port( is there any?) so only way is to edit httpd.conf file. What are the
ways i can achieve this.
Thank You,

Regards ,
Mandar Nandale

Syndicate content