Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- Date: Mon, 21 Aug 2006 11:53:25 +0900
- From: Keith Bawden <isdj@example.com>
- Subject: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- References: <44E53F8A.90605@example.com> <44E5DA8A.3080105@example.com> <931e6e80608180909j70c5b1fbg95a27f2f55188259@example.com> <44E5F646.3010802@example.com> <20060818204827.a5e89511.godwin.stewart@example.com> <44E66ED4.7060809@example.com> <d8fcc0800608182158n6dc248b8l3742fba40980a81f@example.com> <44E6A74C.9080800@example.com> <d8fcc0800608190254q608f2cc9v69293daf3839e317@example.com> <44E7209B.40009@example.com> <d8fcc0800608190805y32cff218yc87f771f34ab4db9@example.com> <44E73D28.50809@example.com> <20060819190557.585be53d.godwin.stewart@example.com>
- User-agent: Thunderbird 1.5.0.5 (X11/20060719)
Godwin Stewart wrote: > On Sun, 20 Aug 2006 01:32:40 +0900, Dave M G <martin@example.com> > wrote: > >> Do I have to do something in my httpd.conf file like: >> LoadModule mod_rewrite.so /usr/lib/apache2/modules/mod_rewrite.so > Hello, On Debian based distros with Apache2 you do not need to edit your httpd.conf file to enable a module. Under the /etc/apache2 directory you will find a "mods-available" and "mods-enabled" directories. mods-available lists all of the modules available but not necessarily enabled. mods-enabled contains symlinks to modules in the mods-available directory. AFAIK the a2enmod command creates a symlink within the mods-enabled directory to the relevant files in the mods-available directory and restarts apache. So, if you do an "ls -l /etc/apache2/mods-enabled" you should see a list of all modules enabled. e.g. The following show that the ssl conf and load files are symlinked: ssl.conf -> ../mods-available/ssl.conf ssl.load -> ../mods-available/ssl.load If you apt-get install an apache2 module it will create new files in the mods-available directory. However, the modules will not be enabled until you specifically enable them. As for the "apache2 -l" command according to the man page this will list modules that are "compiled" into the server. I assume this is why mod-rewrite is not showing up as it is "loaded" in and not "compiled" in. Regards, Keith
- References:
- [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: romans malinovskis
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Godwin Stewart
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Josh Glover
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Josh Glover
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Josh Glover
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Dave M G
- Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- From: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Small detail - file icons
- Next by Date: Re: [tlug] New Custom Server for Linux - Advice Needed
- Previous by thread: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- Next by thread: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links