Hi everyone,

1. I installed a new cloud server on www.speedy2000.net , 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:

root@www:/var/www/admin# cd /var/www/admin/
root@www:/var/www/admin# cat .htaccess
AuthUserFile /etc/apache2/users/.htpasswd
AuthGroupFile /dev/null
AuthName "Protected Area"
AuthType Basic

<LIMIT GET POST>
require admin
</LIMIT>

root@www:/var/www/admin# cd /var/www/uri/
root@www:/var/www/uri# cat .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /uri/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /uri/index.php [L]
</IfModule>

--
currently both .htaccess files are ignored, for example
http://www.speedy2000.net/uri/en/ is not working and
http://www.speedy2000.net/admin/ is visible to everyone. How do I fix it?

root@www:/var/www/uri# /usr/sbin/apache2 -v
Server version: Apache/2.2.14 (Ubuntu)
Server built:   Apr 13 2010 20:21:26

2. *I also had a bug with MySQL* - http://bugs.mysql.com/bug.php?id=60331 -
I understand I need to upgrade MySQL. What is the best stable version of
MySQL, and how do I upgrade?

Thanks,
Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Website: http://www.speedy.net/
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to