[users@httpd] 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 else has experienced this issue?
[users@httpd] 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. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache Not Redirecting
- Original Message - From: "Chris" To: users@httpd.apache.org Sent: Friday, April 5, 2013 1:34:03 PM Subject: [users@httpd] Apache Not Redirecting >Apache 2.2.12 on sles11 sp2. We are trying to get users to access >http://share.domain.com . Apache has a >VirtualHost file with redirectmatch >^/$ http://share.domain.com/share >Apache seems to not be redirecting this. Here is http://share.domain.com >results: > >Any ideas why apache is not performing the redirectmatch? So, i am wondering if i can do a http_host regex? Something like: ServerName share.* JkMount /share|/* worker1 RewriteCond %{HTTP_HOST} ^share\. RedirectMatch ^/$ http://share.{HTTP_HOST}/share/ Would that accomplish anydomain? We will have many clients accessing the same content at http://share.theirdomain.tld and we need it to redirect to http://share.theirdomain.tld/share.
[users@httpd] Apache Not Redirecting
Apache 2.2.12 on sles11 sp2. We are trying to get users to access http://share.domain.com. Apache has a VirtualHost file with redirectmatch ^/$ http://share.domain.com/share Apache seems to not be redirecting this. Here is http://share.domain.com results: GET / HTTP/1.1 Host: share.domain.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive HTTP/1.1 200 OK Date: Fri, 05 Apr 2013 13:46:39 GMT Server: Apache/2.2.12 (Linux/SUSE) X-Powered-By: PHP/5.2.14 X-Pingback:http://clientblog.com/xmlrpc.php Content-Length: 6389 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Any ideas why apache is not performing the redirectmatch? Sent from my iPhone
[users@httpd] ops
Hi, I have meddled some with Apache, PHP, SQL(odbc) and HTML on a windows (XP) installation. Now Ive got a computer for which I dont have a Windows. Considering going for Linux (Ubunto ?, Mandora ?) Is there anyone who has some thinking about that, is there large conversion/incompatibility, or would it be fairly easy (then there are "desktop" and "server" versions from what I see what would differ ?) appreciative of advice Georg
Re: [users@httpd] problem with header
On Fri, Apr 5, 2013 at 12:44 PM, rahul bhola wrote: > hi i am willing to help in development in the httpd project is there > anything i could do please guide me.I know cpp and have worked out with > networking sockets and handeling requests.please do let me know where to > begin There are plenty of bug reports in bugzilla, e.g. https://issues.apache.org/bugzilla/buglist.cgi?list_id=97584&query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Apache%20httpd-2 - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] problem with header
hi i am willing to help in development in the httpd project is there anything i could do please guide me.I know cpp and have worked out with networking sockets and handeling requests.please do let me know where to begin regards Rahul CS engineer BITS PILANI
[users@httpd] How to configure RewriteRule to redirect a folder in my Joomla Website
Hello, In my Joomla website I have the URL as follow: http://www.mydomain.com/catalogue.html http://www.mydomain.com/catalogue/product1.html http://www.mydomain.com/catalogue/product2.html And so on The thing I´d like to do, and I´m not able, is changing the word "catalogue" in all URL by "X" where X 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/X/$1 [R=301,L] but it doesn´t work. Could anyone please help me? Thanks very much for yor time Miguel A.Velasco - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Set response header based on another response header?
On 04/05/2013 01:23 PM, Esmond Pitt wrote: > Can't be done. You can only set an environment variable based on a > *request* header. > > EJP Not entirely true, you can do this quite easily with filters, and I use it often for that exact purpose (except I don't use the Pragma thing, I do other transformations). You can either write a filter module yourself, or you can use mod_lua from trunk (we need to backport this ;( ) and use the guide in the documentation to create an output filter that just sets a header based on another header and then returns (thus skipping the actual filtering, but still setting the header). This might be a bit more than a configuration directive, but nonetheless, it _is_ possible to modify/set one response header based on another. With regards, Daniel - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Re: filesmatch suspends AccessFileName?
Hello, I have the following in the httpd.conf: Order allow,deny Deny from all Satisfy All < Don't you have something similar? i have this: Order allow,deny Deny from all but this is overwritten by the .htaccess of costumer. i thought .htaccess is always protected by AccessFileName Directive, this was my fallacy because AccessFileName has other meaning as Paul mentioned. So thanks at all, case solved, Hajo - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] filesmatch suspends AccessFileName?
> > The regex in filesmatch Directive is quite useless but this leads to the > problem that .htaccess file can called by http in browser and shows all of > its contents. > > http://example.com/.htaccess > > Seems to me quite simple for a user to disclose his .htaccess contents by > simple filesmatch directive which suddenly ignores AccessFileName directive. > Is this a bug or expected? > I have the following in the httpd.conf: # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all Satisfy All Don't you have something similar?
RE: [users@httpd] Set response header based on another response header?
Can't be done. You can only set an environment variable based on a *request* header. EJP
Re: [users@httpd] filesmatch suspends AccessFileName?
On 5 April 2013 10:44, Hajo Locke wrote: > Hello, > > interesting thing here. Ist this a bug or expected? > Apache is 2.2.23 > > Costumer uses .htaccess which uses some SetEnvIfNoCase Directives to > filter bad bots. > the allow,deny directive is placed within a filesmatch directive. > example: > > SetEnvIfNoCase user-agent "hallohallo" bad_bot=1 > > > Order Allow,Deny > Allow from all > Deny from env=bad_bot > > > > The regex in filesmatch Directive is quite useless but this leads to the > problem that .htaccess file can called by http in browser and shows all of > its contents. > > http://example.com/.htaccess > > Seems to me quite simple for a user to disclose his .htaccess contents by > simple filesmatch directive which suddenly ignores AccessFileName directive. > Is this a bug or expected? > > Thanks, > Hajo > > --**--**- > To unsubscribe, e-mail: > users-unsubscribe@httpd.**apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > Hello Hajo Try this at the top level Order allow,deny Deny from all or order allow,deny deny from all What you've written makes logical sense and I would be allowed access to .htaccess All the best Paul -- * "I know one thing: That I know nothing"* - Socrates *"We're all explorers here"* - T S Eliot
Re: [users@httpd] Trying to upgrade from 2.2.22 to 2.4.4
Please remember that in 2.2 modules were linked statically by default. Now they are linked dynamically by default. You need to use: --enable-MODULE=static to compile in into httpd statically or use LoadModule. More info: http://httpd.apache.org/docs/2.4/programs/configure.html 2013/4/5 Marcin Wanat > LoadModule ssl_module modules/mod_ssl.so > > in httpd.conf didn't help ? > > > > 2013/4/5 Ismael Puerto > >> Hello Leonay >> >> Currently I have some problem, at the moment i work with 2.2.X >> I hope that anybody help us with this question. >> >> Thanks >> >> On 04/04/2013 05:36 PM, Leonay Wynn wrote: >> > 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.c >> > http_core.c >> > worker.c >> > >> > This is a redhat 5.7 install >> > >> > I have tried everything i could possibly think of. Does anyone know >> > what is going on here? Thanks!! >> > >> > >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >> >
[users@httpd] filesmatch suspends AccessFileName?
Hello, interesting thing here. Ist this a bug or expected? Apache is 2.2.23 Costumer uses .htaccess which uses some SetEnvIfNoCase Directives to filter bad bots. the allow,deny directive is placed within a filesmatch directive. example: SetEnvIfNoCase user-agent "hallohallo" bad_bot=1 Order Allow,Deny Allow from all Deny from env=bad_bot The regex in filesmatch Directive is quite useless but this leads to the problem that .htaccess file can called by http in browser and shows all of its contents. http://example.com/.htaccess Seems to me quite simple for a user to disclose his .htaccess contents by simple filesmatch directive which suddenly ignores AccessFileName directive. Is this a bug or expected? Thanks, Hajo - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Trying to upgrade from 2.2.22 to 2.4.4
LoadModule ssl_module modules/mod_ssl.so in httpd.conf didn't help ? 2013/4/5 Ismael Puerto > Hello Leonay > > Currently I have some problem, at the moment i work with 2.2.X > I hope that anybody help us with this question. > > Thanks > > On 04/04/2013 05:36 PM, Leonay Wynn wrote: > > 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.c > > http_core.c > > worker.c > > > > This is a redhat 5.7 install > > > > I have tried everything i could possibly think of. Does anyone know > > what is going on here? Thanks!! > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] Trying to upgrade from 2.2.22 to 2.4.4
Hello Leonay Currently I have some problem, at the moment i work with 2.2.X I hope that anybody help us with this question. Thanks On 04/04/2013 05:36 PM, Leonay Wynn wrote: > 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.c > http_core.c > worker.c > > This is a redhat 5.7 install > > I have tried everything i could possibly think of. Does anyone know > what is going on here? Thanks!! > > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org