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: Sun, 20 Aug 2006 08:18:35 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- References: <44E53F8A.90605@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> <20060819182744.7e32472b.godwin.stewart@example.com> <44E74AFB.8080803@example.com> <20060820000517.b9f6912a.godwin.stewart@example.com>
On 20/08/06, Godwin Stewart <godwin.stewart@example.com> wrote:On Sun, 20 Aug 2006 02:31:39 +0900, Dave M G <martin@example.com> wrote: > By removing the "AddModule mod_rewrite.c" line, Apache starts, but it > still says "rewrite_module is already loaded", despite the fact that > I still don't see it listed when I run "apache2 -l". In that case you're going to have to find someone who knows more about Apache v2 than I do. Sorry :(The guys who wrote the Apache documentation probably count. :) LoadModule: http://httpd.apache.org/docs/2.0/mod/mod_so.html#loadmodule AddModule: ??? (does not exist in Apache2) The latter is why Apache is bitching you out when you add the AddModule directive to your config file. And speaking of which, this little option to apachectl might save you some trouble: : jmglov@example.com; apache2ctl configtest Syntax OK If your distro's init script does not map "configtest" through to apachectl, simply run it manually. This does a syntax check without requiring a restart of Apache, so your webserver is not down while you struggle to find and fix your syntax error(s). And for the future, when you get the mod_rewrite module working: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html OK, back to the module problem. A Google search for "apache2 mod_rewrite" yields the following page: http://www.debian-administration.org/articles/136 Given that you are using Ubuntu (? am I remembering correctly? Please make sure to include which distro you use in *every* problem description), a Debian-based distro, this stuff might work. Scroll down to the section entitled "Enabling mod_rewrite for Apache2", remove all of your current attempts from the httpd.conf, then try the commands listed there. -Josh
- Follow-Ups:
- 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: 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: 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: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] New Custom Server for Linux - Advice Needed
- Next by Date: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache [SOLVED]
- 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 [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links