<div dir="ltr">Oops. I found a bug and fixed it. I replaced "require admin" with "require user admin" and it works now. I still have a problem with the second problem - <a href="http://www.speedy2000.net/uri/en">http://www.speedy2000.net/uri/en</a> not working.<div>
<br><div><div>Uri Even-Chen</div><div>Mobile Phone: +972-50-9007559</div><div>E-mail: <a href="mailto:uri@speedy.net" target="_blank">uri@speedy.net</a></div><div>Website: <a href="http://www.speedy.net/" target="_blank">http://www.speedy.net/</a></div>
<div> </div><br>
<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 18:40, Uri Even-Chen <span dir="ltr"><<a href="mailto:uri@speedy.net">uri@speedy.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, I setup file /etc/apache2/sites-available/default , but it's still<br>
not working. I can't log into /admin , and<br>
<a href="http://www.speedy2000.net/uri/en" target="_blank">http://www.speedy2000.net/uri/en</a> is "Not Found / The requested URL<br>
/uri/en was not found on this server.". I used<br>
<a href="http://www.htmlite.com/HTA006a.php" target="_blank">http://www.htmlite.com/HTA006a.php</a> to create admin password (without<br>
salt), what is the problem? And why does<br>
<a href="http://www.speedy2000.net/uri/en" target="_blank">http://www.speedy2000.net/uri/en</a> not redirect to<br>
<a href="http://www.speedy2000.net/uri/" target="_blank">http://www.speedy2000.net/uri/</a> ? here are the contents of<br>
/etc/apache2/sites-available/default :<br>
<br>
-- begin --<br>
<VirtualHost *:80><br>
ServerAdmin <a href="mailto:webmaster@speedy.net">webmaster@speedy.net</a><br>
<br>
DocumentRoot /var/www<br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
<Directory /var/www/><br>
Options Indexes FollowSymLinks MultiViews<br>
AllowOverride None<br>
Order allow,deny<br>
allow from all<br>
</Directory><br>
<Directory /var/www/admin/><br>
<div class="im"> 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>
</div> </Directory><br>
<Directory /var/www/uri/><br>
<div class="im"> <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>
</div> </Directory><br>
<Directory /var/www/composer/><br>
<div class="im"> <IfModule mod_rewrite.c><br>
RewriteEngine On<br>
</div> RewriteBase /composer/<br>
<div class="im"> RewriteCond %{REQUEST_FILENAME} !-f<br>
RewriteCond %{REQUEST_FILENAME} !-d<br>
</div> RewriteRule . /composer/index.php [L]<br>
</IfModule><br>
</Directory><br>
<br>
ErrorLog /var/log/apache2/error.log<br>
<br>
# Possible values include: debug, info, notice, warn, error, crit,<br>
# alert, emerg.<br>
LogLevel warn<br>
<br>
CustomLog /var/log/apache2/access.log combined<br>
<br>
</VirtualHost><br>
-- end --<br>
<div><div></div><div class="h5"><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/" target="_blank">http://www.speedy.net/</a><br>
</div></div></blockquote></div><br></div></div></div>