httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Johnson <>
Subject Re: [users@httpd] internal redirects error
Date Thu, 11 Nov 2010 00:54:17 GMT
* Igor Cicimov <> [101110 15:41]:
> "AllowOverride all" so maybe some redirection in .htaccess file in that
> directory causing infinite loop?
> Try setting it to None instead and see if the problem goes away. Then you'll
> know the problem is in the .htaccess file for sure.
  Yes, that solves that problem, but creates another: now a
  ScriptAlias directive fails. 
  So now I have the following in total:
    ScriptAlias /reg/ /home/http/py/
    <Directory "/home/http/py">
        <IfModule mod_dir.c>
        #AllowOverride all
        ## Scriptalias will not work with AllowOverride set to 'None'
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
  Now if I point the browser to http://localhost/py, executes,
  but if I point the browser to http://localhost/reg I get
"You don't have permission to access /reg/ on this server."
.htaccess is as follows:
# begin
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ ./$1 [L,QSA]
# end

  *However* I really don't need the ScriptAlias. But this is a learning
  experience for me.
  Thank you. 

tim at or

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message