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: Sat, 19 Aug 2006 23:30:51 +0900
- From: Dave M G <martin@example.com>
- Subject: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- References: <44E53F8A.90605@example.com> <44E57D79.9010808@example.com> <931e6e80608180747g40ca3d5aj1da3a3865fa22cb7@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>
- User-agent: Thunderbird 1.5.0.5 (X11/20060728)
Josh, Thank you for replying.No, since you have mod_so.c, your Apache is module-enabled. All you need to do is install the apache-devel package so you have the source tree, then do something like: http://www.arachna.com/edu/talks/expanding/slides/mod_rewrite_setup.htmlThose instructions kind of flew over my head, so I tried looking for instructions specific to Ubuntu.I found instructions that said I should: dave@example.com:~$ sudo a2enmod rewrite This module is already enabled!Hmm... then apparently, if it's there, the rewrite.load file should be in the following directory:dave@example.com:/etc/apache2/mods-enabled$ ls cgi.load php5.conf php5.load rewrite.load Then there's a needed edit to the httpd.conf file: <IfModule mod_rewrite.c> RewriteEngine On </IfModule> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # Commented out for Ubuntu #RedirectMatch ^/$ /apache2-default/ </Directory> And if so, then if I restart Apache, then mod_rewrite should be working. dave@example.com:~$ sudo /etc/init.d/apache2 restart * Forcing reload of apache 2.0 web server... [ ok ]So far as I can tell, it isn't working (same results as reported earlier in this thread). But I don't know if that's because I have .htaccess set up wrong, or still have Apache not configured properly.-- Dave M G
- Follow-Ups:
- 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: Godwin Stewart
- 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: 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
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Small detail - file icons
- Next by Date: Re: [tlug] [OT] Creating user-friendly URLS with mod_rewrite/Apache
- 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