Re: Adding Apache Modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Maiden wrote:
Hi

I installed Fedora Core 5 for the first time this week - everything went well until I tried to add mod_rewrite to Apache...

This is what I did...
Removed rpms httpd apache etc
Downloaded apache 2.2.2 source
Configured with mod_so
etc

So Apache is working fine which makes me wonder if it's something to do with Fedora...

Now when I try to add mod_rewrite with
apxs -i -a mod_rewrite.c /usr/local/apache/build/instdso.sh

this is the output
SH_LIBTOOL='/usr/local/apache/build/libtool' mod_rewrite.c /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp mod_rewrite.c /usr/local/apache/modules/
cp mod_rewrite.c /usr/local/apache/modules/mod_rewrite.c
Warning!  dlname not found in /usr/local/apache/modules/mod_rewrite.c.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_rewrite.so
chmod: cannot access `/usr/local/apache/modules/mod_rewrite.so': No such file or directory
apxs:Error: Command failed with rc=65536

Now the warning about dlname is apparently normal so I have tried other suggestions I found on the net

yum install httpd-devel
yum install libtool

I also the permissions on apache/modules to 777 because I thought it was a permissions problem but it's had no effect.

It is Apache 2 even though it /usr/local/apache

Any help would be appreciated

I'd be inclined to try rebuilding the 2.2.2 httpd SRPM from rawhide rather than just installing from source. That way you'd get it built using the same compiler options as the standard httpd package (e.g. FORTIFY_SOURCE), which might help.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux