[BlueOnyx:12524] Re: .htaccess and wordpress not working together

Ernie ernie at info.eis.net.au
Tue Mar 12 07:48:56 -05 2013


You probably have to enable the Rewrite engine in the siteXX.inulde file.

/etc/http/conf/vhosts/siteXX.include

something like:


<Directory /home/.sites/70/site4>
 AllowOverride All
 RewriteEngine On

</Directory>


Inserting of course the right directory path for your site.

another thing to watch for Wordpress 3.5.1 is it like suPHP enabled for some of
the features to work, also fopen function and PHP memory at least 20MB or
you will get a blank page at certain spots like the wp-admin. The apache
error.log will have memory allocation errors in it.



- Ernie.


> 
> This is a multi-part message in MIME format.
> --===============1792461874==
> Content-Type: multipart/alternative;
> 	boundary="------------040901020108060609090407"
> 
> This is a multi-part message in MIME format.
> --------------040901020108060609090407
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> Hi
> 
> I have a strange issue with a site I am trying to protect whilst its in 
> development.
> 
> I have setup a wordpress site and the site works fine, until I put the 
> .htaccess / .htpasswd amends into the directory.  When I do this the 
> protected .htaccess works and the site is protected but the site no 
> longer functions as the redirect is no longer working
> 
> I have tried putting the .htaccess in the site root directory,  and 
> still get the redirect not working.
> 
> I have tried putting all the code in one .htaccess file in /web and 
> still to no avail
> 
> The only way the wp site works is if I remove the password lines and the 
> only way the protection works is by removing the redirect.
> 
> Anyone seen anything like this before?
> 
> -- 
> 
> Kind regards,
> 
> Pete Robbins
> Bridgewater Software Development Ltd
> Email: peter at bridgewater.it
> Tel: +44 (0) 1442 870244
> Skype: bridgewater1901
> ------------------------------------------------------------------------
> *Important:*
> This e-mail and any attachment(s) are intended for the above named only 
> and may be confidential. If you are not the named recipient please 
> notify us immediately. You must not copy or disclose the contents to any 
> third party. Internet e-mail is not a fully secure communications 
> medium. Please take this into account when sending e-mail to us. Any 
> attachment(s) to this e-mail are believed to be free from virus, but it 
> is the responsibility of the recipient to make all the necessary virus 
> checks.
> 
> *Bridgewater Software Development Ltd*
> Jelmac House
> High Street
> Berkhamsted
> HP4 1AA
> 
> Telephone: 01442 870244;
> Fax: 01442 879993;
> Web Site: http://www.bridgewater.it
> 
> --------------040901020108060609090407
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> 
> <html>
>   <head>
> 
>     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
>   </head>
>   <body text="#000000" bgcolor="#FFFFFF">
>     Hi<br>
>     <br>
>     I have a strange issue with a site I am trying to protect whilst its
>     in development.<br>
>     <br>
>     I have setup a wordpress site and the site works fine, until I put
>     the .htaccess / .htpasswd amends into the directory.  When I do this
>     the protected .htaccess works and the site is protected but the site
>     no longer functions as the redirect is no longer working<br>
>     <br>
>     I have tried putting the .htaccess in the site root directory,  and
>     still get the redirect not working.<br>
>     <br>
>     I have tried putting all the code in one .htaccess file in /web and
>     still to no avail<br>
>     <br>
>     The only way the wp site works is if I remove the password lines and
>     the only way the protection works is by removing the redirect.<br>
>     <br>
>     Anyone seen anything like this before?<br>
>     <br>
>     -- <br>
>     <div class="moz-signature"><font size="2" color="#000000"
>         face="Arial, Helvetica, sans-serif"><br>
>         Kind regards,
>         <br>
>         <br>
>         Pete Robbins
>         <br>
>         Bridgewater Software Development Ltd
>         <br>
>         Email: <a class="moz-txt-link-abbreviated" href="mailto:peter at bridgewater.it">peter at bridgewater.it</a>
>         <br>
>         Tel: +44 (0) 1442 870244
>         <br>
>         Skype: bridgewater1901
>         <hr 100%="">
>         <font size="1" color="#3E1964" face="Arial, Helvetica,
>           sans-serif"><b>Important:</b></font>
>         <font size="1" color="#000040" face="Arial, Helvetica,
>           sans-serif">
>           <br>
>           This e-mail and any attachment(s) are intended for the above
>           named only and may be confidential. If you are not the named
>           recipient please notify
>           us immediately. You must not copy or disclose the contents to
>           any third party. Internet e-mail is not a fully secure
>           communications medium. Please take this into account when
>           sending e-mail to us. Any attachment(s) to this e-mail are
>           believed to be free from virus, but it is the responsibility
>           of the recipient to make all the necessary virus checks.</font>
>         <br>
>         <br>
>         <font size="1" color="#3E1964" face="Arial, Helvetica,
>           sans-serif"><b>Bridgewater Software Development Ltd</b></font>
>         <font size="1" color="#000040" face="Arial, Helvetica,
>           sans-serif">
>           <br>
>           Jelmac House
>           <br>
>           High Street
>           <br>
>           Berkhamsted
>           <br>
>           HP4 1AA
>           <br>
>           <br>
>           Telephone: 01442 870244;
>           <br>
>           Fax: 01442 879993;
>           <br>
>           Web Site: <a class="moz-txt-link-freetext" href="http://www.bridgewater.it">http://www.bridgewater.it</a>
>         </font>
>       </font></div>
>   </body>
> </html>
> 
> --------------040901020108060609090407--
> 
> --===============1792461874==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 
> --===============1792461874==--
> 


-- 
"I Ping therefore I am."



More information about the Blueonyx mailing list