Apache does not parse vhost inside the East-redmine, how to solve

Source: Internet
Author: User
Apache does not parse vhost inside the East--redmine
When I configured Apache and redmine, I found the following problems, please also understand to help solve it. THS
I want to achieve access redmine.aaa.com.cn with Vhost.map
Can experiment after found only with virtualhost feasible, this is how to return ah, THS

In the Apache configuration file httpd.conf directly with the VirtualHost port, with http://redmine.aaa.com.cn can access, will normally access to
HTML Code
  
   Redmine
  
   
    
           ServerName redmine.aaa.com.cn         ServerAdmin webmaster@aaa.com.cn         documentroot/usr/ Local/redmine/redmine-1.0/public      
   
    
     
            Options Indexes execcgi followsymlinks         Order allow,deny         allowoverride      
   
       
  
    All  

But I use domain redirection rules, such as
httpd.conf
HTML Code
  
   Rewritecond%{http_host}! (redmine.aaa.com.cn) [Nc]rewritecond%{http_host}! (www.aaa.com.cn) [Nc]rewritemap lowercase int:tolowerrewritemap vhost txt:/usr/local/apache2/conf/ Vhost.maprewritecond ${lowercase:%{server_name}} ^ (. +) $RewriteCond ${vhost:%1} ^ (/.*) $RewriteRule ^/(. *) $%1/$1

Vhost.map as follows:

HTML Code
  
   #redmineredmine. aaa.com.cn/usr/local/redmine/redmine-1.0/public#aaawww.aaa.com/var/www/aaa

The following error occurred:
Application Error
Rails application failed to start properly



------Solution--------------------
is not to be configured to support allowoverride
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.