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 00:19:38 +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> <20060818.145626.239386559.dave@???> <44E57D79.9010808@example.com> <931e6e80608180747g40ca3d5aj1da3a3865fa22cb7@example.com>
- User-agent: Thunderbird 1.5.0.5 (X11/20060728)
Romans, Thank you for your help.Am I correct that the "Options +AllowOverride" option goes into my httpd.conf file?make sure you have Options +AllowOverride for the directory where .htaccess is.My current httpd.conf file has only this, which makes me unconfident that it's the right file:# This is here for backwards compatability reasons and to support # installing 3rd party modules directly via apxs2, rather than # through the /etc/apache2/mods-{available,enabled} mechanism. # #LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so ServerName localhostThe apache.org file is a little hard to grasp when it comes to determining the right syntax to use here.Is there a global way I can say to always obey the directives of a local .htaccess file if it present in a directory?Or do I have to specify to allow override for each and every instance where I want to use an .htaccess file?Also, I looked up more information about .htaccess files on the Apache web site, and it said:"However, in general, use of .htaccess files should be avoided when possible. Any configuration that you would consider putting in a .htaccess file, can just as effectively be made in a <Directory> section in your main server configuration file."Hmm... well, I do have access to my Apache configuration files on both my home environment and my hosting service.Although, I think for portability reasons I should probably stick to using an .htaccess file.What do you guys think is better? -- Dave M G
- Follow-Ups:
- 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: romans malinovskis
- 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: David E
- 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
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Multiple audio programs outputing audio simultaneously to one audio device . . . . . . . . . . . (was Re: Multiple players at same instance.)
- 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