[Chugalug] .htaccess -- SOLVED

rdflowers base at chalice.us
Sun Apr 14 05:48:48 UTC 2013


A call to hostgator helped me to realize the .htaccess file needed to  
be IN the doc root, not just above it.

THANKS, EVERYONE !


----- Message from seabre986 at gmail.com ---------
     Date: Sun, 14 Apr 2013 00:28:08 -0400
     From: Sean Brewer <seabre986 at gmail.com>
Reply-To: Chattanooga Unix Gnu Android Linux Users Group  
<chugalug at chugalug.org>
  Subject: Re: [Chugalug] .htaccess
       To: rd at chatta.us, CHUGALUG <chugalug at chugalug.org>


> Also, like Joshua said. Make sure you have mod_rewrite enabled.
>
> You can check this by calling phpinfo() in a php file.
>
> I don't know how much control you actually have on your server, but you can
> do: sudo a2enmod rewrite
> to enable that module on ubuntu/debian. You should be able to modify
> httpd.conf on other systems to load the module, wherever that may happen to
> be on your respective system.
>
> On Sun, Apr 14, 2013 at 12:18 AM, Sean Brewer <seabre986 at gmail.com> wrote:
>
>> Try entering incognito/private mode. Sometimes stuff gets cached really
>> hard in your browser, and it may not appear to work, when your htaccess
>> directives actually have taken affect.
>>
>>
>> On Sat, Apr 13, 2013 at 10:42 PM, rdflowers <base at chalice.us> wrote:
>>
>>> It is modified from the following, which works on another domain at the
>>> same hosting service ( hostgator.com ), without the WordPress part. --
>>>
>>> RewriteEngine on
>>> RewriteCond %{HTTP_HOST} ^chattanoogaquakers.org$ [OR]
>>> RewriteCond %{HTTP_HOST} ^www.chattanoogaquakers.org$
>>> #RewriteRule ^/?$ "http\:\/\/chattanoogaquakers\**.org\/main" [R=301,L]
>>> RewriteRule ^/?$ "http\:\/\/chattanoogaquakers\**.org\/gzvwpress"
>>> [R=301,L]
>>> # BEGIN WordPress
>>> <IfModule mod_rewrite.c>
>>> RewriteEngine On
>>> RewriteBase /
>>> RewriteRule ^index\.php$ - [L]
>>> RewriteCond %{REQUEST_FILENAME} !-f
>>> RewriteCond %{REQUEST_FILENAME} !-d
>>> RewriteRule . /index.php [L]
>>> </IfModule>
>>>
>>> # END WordPress
>>>
>>>
>>>
>>>
>>>
>>> ----- Message from seabre986 at gmail.com ---------
>>>     Date: Sat, 13 Apr 2013 21:39:52 -0400
>>>     From: Sean Brewer <seabre986 at gmail.com>
>>> Reply-To: Chattanooga Unix Gnu Android Linux Users Group <
>>> chugalug at chugalug.org>
>>>  Subject: Re: [Chugalug] .htaccess
>>>       To: Chattanooga Unix Gnu Android Linux Users Group <
>>> chugalug at chugalug.org>
>>>
>>>
>>>  1) Where do you have your .htaccess file?
>>>> 2) The L specifies that it is the last rewrite rule. R=301 specifies an
>>>> HTTP 301 redirect.
>>>>
>>>> On Sat, Apr 13, 2013 at 9:18 PM, rdflowers <base at chalice.us> wrote:
>>>>
>>>>  [R=301,L]
>>>>>
>>>>
>>>>
>>>
>>> ----- End message from seabre986 at gmail.com -----
>>>
>>>
>>>
>>> --
>>> R. D. Flowers, Chattanooga, TN, USA
>>> http://chalice.us/poe/
>>>
>>>
>>>
>>
>


----- End message from seabre986 at gmail.com -----



--
R. D. Flowers, Chattanooga, TN, USA
http://chalice.us/poe/




More information about the Chugalug mailing list