httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <supp...@gej-it.com>
Subject RE: [users@httpd] Configuring Apache (RewriteRule and ScriptAliasMatch)
Date Sun, 20 Jul 2003 19:07:13 GMT
But what are the errors that you get this time??
Also what does the error log say?

Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: Morten W. Petersen [mailto:morten@nidelven-it.no]
> Sent: Sunday, July 20, 2003 2:10 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Configuring Apache (RewriteRule and
> ScriptAliasMatch)
> 
> Unfortunately, that didn't work.  :\
> 
> I tried a new configuration as well:
> 
> <VirtualHost 216.93.187.217>
> ServerName jonlim.no-ip.com
> ScriptAlias /blog/movable/ /home/nidelven/apache/jonagustine_lim/movable/
> RewriteEngine On
>   RewriteRule ^/albums(.*)
> /home/nidelven/apache/jonagustine_lim/albums/$1 [L]
>   RewriteRule ^/gallery(.*)
> /home/nidelven/apache/jonagustine_lim/gallery/$1 [L]
>   RewriteRule ^/blog(.*) /home/nidelven/apache/jonagustine_lim/$1 [L]
>   RewriteRule ^/(.*)
> http://216.93.187.217:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P]
> </VirtualHost>
> 
> <Directory "/home/nidelven/apache/jonagustine_lim/movable">
> Options +ExecCgi -Indexes
> AddHandler cgi-script .cgi .pl
> Allow from all
> </Directory>
> 
> But that didn't work either.  Would putting the ScriptAlias after the
> RewriteRule to the trick perhaps?
> 
> I'm really stuck here, reading the module documentation isn't of much
> help, is there any other place I
> could look for help?
> 
> Jeff Cohen wrote:
> 
> >Try:
> >
> ><VirtualHost 216.93.187.217>
> >ServerName jonlim.no-ip.com
> >RewriteEngine On
> >  RewriteRule ^/gallery(.*)
> >/home/nidelven/apache/jonagustine_lim/gallery/$1 [L]
> >  ScriptAliasMatch ^/blog/movable(.*)
> >/home/nidelven/apache/jonagustine_lim/movable/$1
> >  RewriteRule ^/blog(.*) /home/nidelven/apache/jonagustine_lim/$1 [L]
> >  RewriteRule ^/(.*)
> >http://216.93.187.217:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P]
> ><Directory /home/nidelven/apache/jonagustine_lim/movable>
> >Options +ExecCgi -Indexes
> >AddHandler cgi-script .cgi .pl
> >Allow from all
> ></VirtualHost>
> >
> >Jeff Cohen
> >Support@GEJ-IT.com
> >Tel. (416) 917-2324
> >www.GEJ-IT.com
> >GEJ-IT Networks!
> >
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Morten W. Petersen [mailto:morten@nidelven-it.no]
> >>Sent: Saturday, July 19, 2003 12:58 PM
> >>To: users@httpd.apache.org
> >>Subject: [users@httpd] Configuring Apache (RewriteRule and
> >>
> >>
> >ScriptAliasMatch)
> >
> >
> >>Hi all,
> >>
> >>I'm having some difficulties configuring Apache to server
> >>Zope at the root, and having a Movable Type weblog accessible
> >>'beneath it':
> >>
> >><VirtualHost 216.93.187.217>
> >>ServerName jonlim.no-ip.com
> >>RewriteEngine On
> >>  RewriteRule ^/gallery(.*)
> >>/home/nidelven/apache/jonagustine_lim/gallery/$1 [L]
> >>  ScriptAliasMatch ^/blog/movable(.*)
> >>/home/nidelven/apache/jonagustine_lim/movable/$1
> >>  RewriteRule ^/blog(.*) /home/nidelven/apache/jonagustine_lim/$1 [L]
> >>  RewriteRule ^/(.*)
> >>http://216.93.187.217:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P]
> >></VirtualHost>
> >>
> >>The URL http://jonlim.no-ip.com/blog/movable/mt.cgi brings up
> >>the error:
> >>
> >>Forbidden
> >>You don't have permission to access /blog/movable/mt.cgi on this server.
> >>
> >>What's wrong here?
> >>
> >>Thanks in advance,
> >>
> >>Morten W. Petersen
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>The official User-To-User support forum of the Apache HTTP Server
Project.
> >>See <URL:http://httpd.apache.org/userslist.html> for more info.
> >>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >>For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >The official User-To-User support forum of the Apache HTTP Server
Project.
> >See <URL:http://httpd.apache.org/userslist.html> for more info.
> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> 
> 
> --
> 
> Personal Blog:  http://www.blogologue.com
> Company homepage: http://www.nidelven-it.no
> Phone: (+47) 45 44 00 69
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message