Re: Adding Apache Modules



On 6/11/06, Samatason Ltd <chris@xxxxxxxxxxxxxxx> wrote:

Thanks Paul

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:
fedora-list-bounces@xxxxxxxxxx]
On Behalf Of Paul Howarth
Sent: 09 June 2006 15:53
To: For users of Fedora Core releases
Subject: Re: Adding Apache Modules

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


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


try yum install mod_rewrite or do a search to find the correct package
name.

yum search mod_rewrite

--
mB.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: index.php not loading HELP
    ... Can you still load http://localhost/.../index.php? ... What's in your Apache log? ... if I were installing it for the first time I'd install WAMP- it's much easier. ... Did you check your Apache 'http.conf' config file for the 'DirectoryIndex' option as mentioned before in this thread. ...
    (comp.lang.php)
  • Re: Rogue PHP file
    ... If the time that this folder got on the server doesn't make sense, they may not have installed anything themselves. ... Of course none of them will admit to installing Apache server. ... are not running a public web server on your SBS, then close port 80 to your SBS. ...
    (microsoft.public.windows.server.sbs)
  • RE: Adding Apache Modules
    ... Subject: Adding Apache Modules ... Assuming installing a .so rather than a libtool archive. ... was a permissions problem but it's had no effect. ... I'd be inclined to try rebuilding the 2.2.2 httpd SRPM from rawhide rather ...
    (Fedora)
  • Re: Rogue PHP file
    ... If the time that this folder got on the server doesn't make sense, ... Of course none of them will admit to installing Apache ... are not running a public web server on your SBS (and you should NOT ...
    (microsoft.public.windows.server.sbs)
  • Apache build and SSL problem
    ... I'm learning Linux with Fedora Core 2 and picked up a book called ... SSL support per the instructions in the book. ... When I checked the Apache error logs I only see a message about a file ... installing and I've double/triple checked my install scripts compared ...
    (Fedora)