Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Suggestions > Topic : Ability to include "RewriteOptions Inherit" on all Virtual Hosts



Threaded Mode | Print  

 Ability to include "RewriteOptions Inherit" on all Virtual Hosts (2 Replies, Read 9975 times)
mintystark
Group: Member
Post Group: Newbie
Posts: 10
Status:
I need to add "RewriteOptions Inherit" to all virtualhosts.
This would allow me to create global rewrites and have them work accross all virtualhosts.

Would be great if there was an option to check off "Include Inherited RewriteRules for all Sites".
IP: --   

Ability to include "RewriteOptions Inherit" on all Virtual Hosts
mintystark
Group: Member
Post Group: Newbie
Posts: 10
Status:
Is there any way that I can modify the Script that generates the httpd-vhosts.conf file?  How is that file generated?
IP: --   

Ability to include "RewriteOptions Inherit" on all Virtual Hosts
mintystark
Group: Member
Post Group: Newbie
Posts: 10
Status:
Would almost be better to have the ability to customize the VirtualHost script or add in our own custom script to each one.  Maybe have a httpd-vhosts-custom.conf file.  Anything we put in there gets added to each virtualhost right before the </VirtualHost> tag.  Not sure if we would need one for both :80 and :443.

Personally it would be best if there was just a script that we could modify like this:
(httpd-vhosts-default.conf)
Code

<VirtualHost {localhost}:80>
<Directory "{document_root}">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName {domain}
ServerAlias {domain}
ScriptAlias /cgi-bin/ "{document_root}/cgi-bin/"
DocumentRoot "{document_root}"
ErrorLog "/Applications/AMPPS/apache/logs/{domain}.err"
CustomLog "/Applications/AMPPS/apache/logs/{domain}.log" combined
</VirtualHost>


Also one for :443
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 3:03 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.040