<div dir="ltr">Oops. I found a bug and fixed it. I replaced &quot;require admin&quot; with &quot;require user admin&quot; 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">&lt;<a href="mailto:uri@speedy.net">uri@speedy.net</a>&gt;</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&#39;s still<br>
not working. I can&#39;t log into /admin , and<br>
<a href="http://www.speedy2000.net/uri/en" target="_blank">http://www.speedy2000.net/uri/en</a> is &quot;Not Found / The requested URL<br>
/uri/en was not found on this server.&quot;. 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>
&lt;VirtualHost *:80&gt;<br>
        ServerAdmin <a href="mailto:webmaster@speedy.net">webmaster@speedy.net</a><br>
<br>
        DocumentRoot /var/www<br>
        &lt;Directory /&gt;<br>
                Options FollowSymLinks<br>
                AllowOverride None<br>
        &lt;/Directory&gt;<br>
        &lt;Directory /var/www/&gt;<br>
                Options Indexes FollowSymLinks MultiViews<br>
                AllowOverride None<br>
                Order allow,deny<br>
                allow from all<br>
        &lt;/Directory&gt;<br>
        &lt;Directory /var/www/admin/&gt;<br>
<div class="im">                AuthUserFile /etc/apache2/users/.htpasswd<br>
                AuthGroupFile /dev/null<br>
                AuthName &quot;Protected Area&quot;<br>
                AuthType Basic<br>
<br>
                &lt;LIMIT GET POST&gt;<br>
                require admin<br>
                &lt;/LIMIT&gt;<br>
</div>        &lt;/Directory&gt;<br>
        &lt;Directory /var/www/uri/&gt;<br>
<div class="im">                &lt;IfModule mod_rewrite.c&gt;<br>
                RewriteEngine On<br>
                RewriteBase /uri/<br>
                RewriteCond %{REQUEST_FILENAME} !-f<br>
                RewriteCond %{REQUEST_FILENAME} !-d<br>
                RewriteRule . /uri/index.php [L]<br>
                &lt;/IfModule&gt;<br>
</div>        &lt;/Directory&gt;<br>
        &lt;Directory /var/www/composer/&gt;<br>
<div class="im">                &lt;IfModule mod_rewrite.c&gt;<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>
                &lt;/IfModule&gt;<br>
        &lt;/Directory&gt;<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>
&lt;/VirtualHost&gt;<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>