Installing Httpd-devel Module On Fedora Updates Apache

Feb 26, 2008

to install mod_evasive module on our Apache2 that runs on Fedora server. However, for that we need Apache's apxs to compile it. We found out that we can do that by running the

yum install httpd-devel
However, when we run that, we get the following:

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
httpd-devel i386 2.2.8-1.fc7 updates 144 k
Updating:
httpd i386 2.2.8-1.fc7 updates 1.0 M
openldap i386 2.3.34-7.fc7 updates 291 k
Installing for dependencies:
apr-devel i386 1.2.8-6 fedora 170 k
apr-util-devel i386 1.2.10-1.fc7 updates 54 k
cyrus-sasl-devel i386 2.1.22-8.fc7 updates 351 k
db4-devel i386 4.5.20-5.fc7 fedora 2.3 M
expat-devel i386 1.95.8-9 fedora 129 k
openldap-devel i386 2.3.34-7.fc7 updates 1.5 M
Updating for dependencies:
httpd-manual i386 2.2.8-1.fc7 updates 821 k
mod_ssl i386 1:2.2.8-1.fc7 updates 85 k
openldap-clients i386 2.3.34-7.fc7 updates 179 k

Transaction Summary
==========================================
Install 7 Package(s)
Update 5 Package(s)
Remove 0 Package(s)

Total download size: 7.0 M
We're kind of cautios, because we have never updated Apache on our live server. We'd prefer if we could download and install just the httpd-devel module. Is this possible?

If not, would this mess up any of our existing configuration? Could we expect any problems? And do we need to shut Apache down, then run the updates and only then restart it?

View 5 Replies


ADVERTISEMENT

Updating Httpd-devel

Jul 1, 2008

We have dedicated server (Cpanel installed) in that I would like to install the mod_evasive for disabling the DOS attack. So that I have followed the below url

[url]

In that httpd-devel asked to update.
# up2date install httpd-devel*

When I update the httpd-devel I got message like

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
httpd-devel 2.0.52 38.ent.2Pkg name/pattern

The following wildcards did not match any packages:
httpd-devel*

So that I have removed the pkg-skip list from up2date command

# vi /etc/sysconfig/rhn/up2date

and tryied to update

# up2date install httpd-devel*

Later I am getting the following message.

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
httpd-devel 2.0.52 38.ent.2 i386

An error has occurred:
xmlrpclib.Fault

View 4 Replies View Related

Httpd-devel Install

Jun 25, 2008

I like to install the httpd-devel on RHEL4 server. So that I used the following command but shows unpacking archive error.

#up2date install httpd-devel*

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
httpd-devel 2.0.52 38.ent.2 i386

Testing package set / solving RPM inter-dependencies...
########################################
httpd-devel-2.0.52-38.ent.2 ########################## Done.
Preparing ########################################### [100%]

Installing...
1:httpd-devel ########################################### [100%]
error: unpacking of archive failed on file /etc/httpd/build: cpio: rename

There was a fatal RPM install error. The message was:

There was a rpm unpack error installing the package: httpd-devel-2.0.52-38.ent.2

View 8 Replies View Related

MySQL Not Installing On Fedora

May 14, 2007

Here is where I stand..

OS: FRESH install of Unix Fedora Core 6
Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686
Hardware Information: Brand new Dell SC1435 Server
Software Version: MySQl 5
Control Panel: cPanel

A few things I did already..

#yum install mysql-server && service mysqld start
Nothing to do
mysqld: unrecognized service

#rpm -qa | grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2

#ps -ef | grep -i mysql
root 15299 15114 0 16:55 pts/0 00:00:00 grep -i mysql

I don't see the mysql.sock file. What I can do to further troubleshoot this issue?

View 7 Replies View Related

HTTPD Module

Oct 28, 2009

Trying to troubleshoot an exploit where the code redirecting people to exploit sites is not in the website. I think a module is being loaded dynamically, but I am not seeing the entry point in the access logs. I restart httpd and the problem goes away temporarily.

Anyone see anything fishy?

==================
HTTPD MODULES
==================
[root@xxx ~]# httpd -L
<Directory (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Location (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<VirtualHost (core.c)
Container to map directives to a particular virtual host, takes one or more host addresses
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<Files (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<Limit (core.c)
Container for authentication directives when accessed using specified HTTP methods
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<LimitExcept (core.c)
Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfModule (core.c)
Container for directives based on existance of specified modules
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<IfDefine (core.c)
Container for directives based on existance of command line defines
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
<DirectoryMatch (core.c)
Container for directives affecting resources located in the specified directories
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<LocationMatch (core.c)
Container for directives affecting resources accessed through the specified URL paths
Allowed in *.conf only outside <Directory>, <Files> or <Location>
<FilesMatch (core.c)
Container for directives affecting files matching specified patterns
Allowed in *.conf anywhere and in .htaccess
when AllowOverride isn't None
AuthType (core.c)
An HTTP authorization type (e.g., "Basic")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AuthName (core.c)
The authentication realm (e.g. "Members Only")
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Require (core.c)
Selects which authenticated users or groups may access a protected space
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
Satisfy (core.c)
access policy if both allow and require used ('all' or 'any')
Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess
when AllowOverride includes AuthConfig
AddDefaultCharset (core.c)
The name of the default charset to add to any Content-Type without one or 'Off' to disable
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AcceptPathInfo (core.c)
Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AccessFileName (core.c)
Name(s) of per-directory config files (default: .htaccess)
Allowed in *.conf only outside <Directory>, <Files> or <Location>
DocumentRoot (core.c)
Root directory of the document tree
Allowed in *.conf only outside <Directory>, <Files> or <Location>
ErrorDocument (core.c)
Change responses for HTTP errors
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo
AllowOverride (core.c)
Controls what groups of directives can be configured by per-directory config files
Allowed in *.conf only inside <Directory>, <Files> or <Location>
Options (core.c)
Set a number of attributes for a given directory
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
DefaultType (core.c)
the default MIME type for untypable files
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes FileInfo...

View 2 Replies View Related

Disabling The Cgi Module In Httpd.conf

Jul 21, 2008

I like to disable the CGI Module in httpd.conf. Can you please help me to disable the CGI Module.

View 5 Replies View Related

Php 5.2.1 Dont Work As Httpd Module

Feb 14, 2007

I cant make php 5.2.1 work as httpd 2.2.4 and 2.2.3 module. When loaded with php it makes httpd dont start at all without any errors in log even on debug level! However when I place php 5.2.0 as module it immediately starts working ok.

I've tested this with a standart ./configure without any parameters for both php and httpd, and httpd is always not working when it tries to load php 5.2.1 as module.

Did someone run php 5.2.1 with httpd >2.2.3 succesfully?

View 1 Replies View Related

Installing PHP Module Without Recompiling

Mar 20, 2007

I'm on a shared host that allows shell access. We need to install a PHP module -- they say we can, but they won't do it for us. Can anyone explain how we would accomplish that?

View 5 Replies View Related

Plesk 12.x / Linux :: Installing SPDY Module For Nginx?

Sep 17, 2014

How do I go about installing the spdy module for nginx? I understand it's now part of nginx 1.6 which comes with Plesk 12 but when I add the directive

Code:
listen 443 ssl spdy;

I get an error saying "nginx: [emerg] the "spdy" parameter requires ngxhttpspdy_module".

View 6 Replies View Related

Httpd After Installing XCache

Apr 18, 2008

I just finished installing xCache and restart httpd it isnt starting up

root@server2 [~]# service httpd start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
root@server2 [~]#

View 4 Replies View Related

LAMP:httpd Doesn't Run After Installing PHP5

Jul 6, 2007

After install MySQL and Apache, everything went well, I tested web server and it was OK. but after I installing PHP, httpd just simply don't run.

When I tried to run httpd, nothing was happened as showing below
[root@localhost ~]# /usr/local/apache/bin/apachectl start
[root@localhost ~]# ps aux |grep httpd
root 2809 0.0 0.2 4988 672 pts/0 S+ 06:52 0:00 grep httpd
[root@localhost ~]#

-----------------------------------------
CentOS 5
MySQL: 5.0.41
httpd-2.2.4
PHP-5.2.3
------------------------------------------

Installation Details

groupadd -g 103 mysql
useradd -u 103 -g mysql mysql
groupadd -g 104 web
useradd -u 104 -g web web

MySQL
./configure --prefix=/usr/local/mysql
--with-extra-charsets=all
--enable-thread-safe-client

httpd
./configure --prefix=/usr/local/apache
--disable-status
--disable-asis
--disable-cgid
--disable-userdir
--disable-cgi
--with-mpm=worker
--enable-so
--enable-deflate
--enable-rewrite

PHP
./configure --disable-all
--with-apxs2=/usr/local/apache/bin/apxs
--with-pcre-regex
--with-zlib-dir
--with-dom-xslt
--with-dom-exslt
--with-gd
--with-jpeg-dir
--with-png-dir
--with-ttf
--with-freetype-dir
--enable-gd-native-ttf
--enable-gd-jis-conv
--with-iconv
--enable-mbstring
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-pdo-mysql=/usr/local/mysql
--enable-pdo
--enable-sockets
--with-dom
--with-xmlrpc
--with-xslt-sablot
--enable-xslt
--enable-soap
--enable-zip
--enable-libxml
--enable-simplexml
--enable-exif
--with-pear
--enable-xml

httpd.conf
User web
Group web
------------------------------------------------------------

View 1 Replies View Related

PHP As Apache Module Vs. PHP As CGI Module

Nov 20, 2007

What are the advantages/disadvantages of running PHP as Apache module vs. running PHP as CGI module on your server?

View 5 Replies View Related

Apache Module

Jul 4, 2007

I would like to know is there any module for Apache which can collect information like who is surfing our website and how many pages they have accessed in last one hour. I know awstats or webalizer can do this but i need some thing realtime on apache level.

View 4 Replies View Related

PHP 5.5 As Apache Module

Mar 12, 2015

I found a script that updated php to 5.5, however it's only enabling me to run it as a CGI script, if I want to run PHP an Apache module, it's still only 5.3. How can I upgrade the Apache version?

View 3 Replies View Related

Apache DDoS Module

Mar 8, 2007

What wil be the best way to protect an Apache server from a DDoS attack? Is there an Apache module for this type of problem?

View 14 Replies View Related

PHP As Apache Module Or As FastCGI

Jan 22, 2007

I have a server running Apache 2 with PHP as an Apache module. There are a few php scripts that use lots of cpu when they run and have lots of hits, but Apache is still running fine and pages and php scripts load pretty fast. I was just wondering if running PHP as fastcgi would use less cpu or make php scripts load faster.

View 0 Replies View Related

Anti-lecch Apache Module

Jan 19, 2008

i have a dedicated server that i use for stream flv files. In this server i have apache.

Do you know any apache solution for prevent streaming of flv files to others domain name ? I want to stop leeching and permit stream of files only for my domain name. The htaccess solution in my case don't works...

View 3 Replies View Related

Compiling Apache Module Error

Jan 28, 2007

I have recently installed the latest version of apache which is version 2.2.4 and it seems many modules were left out so I decided to add one of my favorite modules myself

I have DirectAdmin install so here is what I did

I edited this file: configure.apache_2
and at the end of the file added --enable-expires

After adding normally we would recompile apache I was doing that and I got this error

Code:
/usr/local/directadmin/customapache/configure.apache_2: line 24: --enable-expires: command not found

*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file

Not sure what I'm doing wrong if someone could help me I would be greatful.

View 2 Replies View Related

Apache :: LDAP Authentication Module

Mar 22, 2015

I have some questions about the LDAP authentication module.I have a LDAP authentication with this config:

<AuthnProviderAlias ldap ldap-account>
AuthLDAPBindDN "CN=directory search,OU=Service-User,DC=company,DC=ch"
AuthLDAPBindPassword "xxxxx"
AuthLDAPURL "ldap://ldap.company.ch/ou=Users,dc=company,dc=ch?sAMAccountName?sub?(objectClass=*)"
</AuthnProviderAlias>

If a User logs in with username only, all works correct. If a user use the DomainUsername format, the login is rejected with "user not found".Should it not work with both login styles ? Or is there a option to reformat or rewrite the username before authentication without the "Domain part ?

View 1 Replies View Related

Enable Apache Module For VPS Migration

Apr 7, 2015

I am trying to migrate a VPS with:

- Plesk 12 (v12.0.18 Update #40) and
- Linux CentOS 6.6 (v2.6.32-504.12.2.el6.x86_64)
to another VPS with:
- Plesk 12 (v12.0.18_build1200140606.15) and
- Linux CentOS 6.6 (v2.6.32-504.12.2.el6.x86_64)

I tried to do the following:

- Tools & Settings / Tools & Resources / Migration & Transfer Manager / Start New Migration
- Data source: Transfer data from another server
- Transfer the following data / Migrate the whole server

Following error/warrning message is recieved then:The following Apache modules are disabled on the destination server: sysenv. Please enable these modules to prevent possible problems.

View 2 Replies View Related

Restart Apache (module Php5_module Error)

Apr 13, 2008

I am experiencing this problem right now. None of my website is running. But httpd status says running. What's wrong?

[root@cent cron]# apachectl restart
[Mon Apr 13 20:10:11 2008] [warn] module php5_module is already loaded, skipping

[root@cent cron]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Apr 13 20:10:55 2008] [warn] module php5_module is already loaded, skipping

[root@cent cron]# service httpd status
httpd (pid 24100 24099 24098 24097 24096 24094) is running...

View 13 Replies View Related

Difference Between Running PHP Using Fast CGI Or As An Apache Module?

Mar 10, 2008

I have been a web developer using PHP for years now, and my work laptop runs CentOS with PHP5 as an Apache Module. This suits me just fine for development, but now I want to setup a web server that runs PHP 4.4.8 and PHP 5.2.5 and offer hosting to people. I know PHP4 is very old, but I am looking to offer my users the freedom of choice, as there are still third party applications out there that may need to be run on PHP4.

I will want PHP 5 to be the default, and allow PHP 4 to be used if either the file extension is .php4, or they have a line in their .htaccess file. I have seen various tutorials in search engine results saying to run both, I can either do one of the following:

1. Install PHP5 as a module, and run PHP4 using FastCGI
2. Install PHP5 and PHP4 and run both using FastCGI
3. Install PHP4 as a module, and run PHP5 using FastCGI

In the future I will also be looking to support PHP6 once a stable version has been released, though that will probably be optional to begin with and require a line in the .htaccess file too - like PHP4. I will be using Apache 2.2.8 on CentOS 5.1. I am also looking to install Ruby on Rails and Django too, which I think use FastCGI.

What's the difference between running as an Apache Module, or using FastCGI? This will be for a shared hosting environment so performance over lots of connections, stability and security are my concerns. Should I run everything using FastCGI, if not, would the default PHP version be better off installed as an Apache Module?

View 5 Replies View Related

Apache :: HTTPS - Generate Certificate And SSL Module

May 26, 2013

How to be able to fix my problem that is related to the https using apache2 (enabling https in apache2) at opensuse:

By the way, my opensuse version is:

openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus

1) At the /etc/apache2/vhosts.d/vhost-ssl.conf, and if I do not have a name (as the server will be accessed using its IP address), can I place in the ServerName 192.168.0.5? Do I have to place it 192.168.0.5:443 or it is enough to be 192.168.0.5?

2) Is there a relation between the SSLCipherSuite values and the used method to generate the certificate?

3) I am afraid from the way that I am using to generate the certificate and the ssl module that is coming with apache2 at my machine which has opensuse. How can I select the right way?

Actually I used following commands to generate the .crt, .key and the .csr:

openssl genrsa -des3
openssl req -new -x509
openssl x509 -req

And that was from this link: [URL] .... But did not work with me !

Meanwhile I am placing:

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

4) Do I have to configure the virualhost? Do I have to create files under the directory /etc/apache2/vhosts.d? Because I will have one application to be browsed .. nothing more.

View 2 Replies View Related

Enable Php-fpm Serverwide - Disable Apache Module

Jun 1, 2014

Is there a possibility to enable php-fpm serverwide and to disable running php as apache on the server?

This for both existing subscriptions as for new subscriptions ?

View 6 Replies View Related

Plesk 11.x / Linux :: PHP Support 11.5.30 - Cannot Change Or Choose Running As Apache Module Or CGI Application

Jul 17, 2015

Hosting Settings

There is no php support - so i canĀ“t change or choose running as apache module or cgi application (s. screenshot)...

OS Ubuntu 12.04.5 LTS

Panel version 11.5.30 Update #50, last updated at July 17, 2015 03:46 AM

View 4 Replies View Related

Cant Restart Apache Httpd

Aug 3, 2008

I am trying to restart my apache since i made changes to my php.ini file.

I tried using this command /etc/init.d/httpd restart which didnt work for me..any ideas guys? Its a basic dedicated server from a hosting company..

View 10 Replies View Related

Apache 2.2 And Httpd.conf

Mar 6, 2008

I recently updated to apache 2.2 and when I went to check

/usr/local/apache/conf/httpd.conf

I noticed that a lot of the stuff was missing from what I usually see in apache 1.3 Was a new file created when the update was finish? I used easyapache to make the update.

I was actually looking to change the

Keepalive
Timeout
MinSpareServers
MaxSpareServers
MaxRequestsPerChild
Etc...

But it doesn't look like it's in there.

View 2 Replies View Related

Apache 2 - Httpd.conf

Sep 15, 2008

how should I optimize httpd.conf on my server. Apache was set up by my friend, unfortunately it started to "stuck" lately during peak time. Browser is connecting to a website for a long time before it actually starts to load it.

My current setup:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
MinSpareServers 2
MaxSpareServers 5
StartServers 5
ServerLimit 650
MaxClients 650
Server:
Intel Quad-Core Xeon X3220 @ 2.40 GHZ
4x 2GiB Kingston ECC Not-Registred 667Mhz
2x 150GiB RaptorX 10k RPM, sw raid 1

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved