<div dir="ltr">Hi everyone,<br><br>1. I installed a new cloud server on <a href="http://www.speedy2000.net">www.speedy2000.net</a> , it uses Ubuntu 10.04 LTS with apache2, PHP and MySQL. The problem is, currently apache ignores .htaccess files. I have 2 .htaccess files, one to protect a directory with username & password and one to redirect to another domain. Here are the contents of the .htaccess files:<br>
<br>root@www:/var/www/admin# cd /var/www/admin/<br>root@www:/var/www/admin# cat .htaccess<br>AuthUserFile /etc/apache2/users/.htpasswd<br>AuthGroupFile /dev/null<br>AuthName "Protected Area"<br>AuthType Basic<br>
<br><LIMIT GET POST><br>require admin<br></LIMIT><br><br>root@www:/var/www/admin# cd /var/www/uri/<br>root@www:/var/www/uri# cat .htaccess<br><IfModule mod_rewrite.c><br>RewriteEngine On<br>RewriteBase /uri/<br>
RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteCond %{REQUEST_FILENAME} !-d<br>RewriteRule . /uri/index.php [L]<br></IfModule><br><br>--<br>currently both .htaccess files are ignored, for example <a href="http://www.speedy2000.net/uri/en/">http://www.speedy2000.net/uri/en/</a> is not working and <a href="http://www.speedy2000.net/admin/">http://www.speedy2000.net/admin/</a> is visible to everyone. How do I fix it?<br>
<br>root@www:/var/www/uri# /usr/sbin/apache2 -v<br>Server version: Apache/2.2.14 (Ubuntu)<br>Server built: Apr 13 2010 20:21:26<br><br>2. <u><b>I also had a bug with MySQL</b></u> - <a href="http://bugs.mysql.com/bug.php?id=60331">http://bugs.mysql.com/bug.php?id=60331</a> - I understand I need to upgrade MySQL. What is the best stable version of MySQL, and how do I upgrade?<br>
<br>Thanks,<br>Uri Even-Chen<br>Mobile Phone: +972-50-9007559<br>E-mail: <a href="mailto:uri@speedy.net">uri@speedy.net</a><br>Website: <a href="http://www.speedy.net/">http://www.speedy.net/</a><br></div>