I want run Redmine in Sub URI /redmine/, but got 404 error
Added by artlayers art almost 13 years ago
Hello,
I installed Redmine 1.2.1 in server directory http://sitename.com/redmine/
Have been change httpd.conf
<VirtualHost serverip:8080> ServerName sitename.com DocumentRoot /var/www/sitename/data/www/sitename.com SuexecUserGroup sitename sitename CustomLog /var/www/httpd-logs/sitename.com.access.log combined ErrorLog /var/www/httpd-logs/sitename.com.error.log ServerAlias www.sitename.com ServerAdmin admin@servername.com ScriptAlias /cgi-bin/ /var/www/sitename/data/www/sitename.com/cgi-bin/ php_admin_value open_basedir "/var/www/sitename/data:." php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f admin@servername.com" php_admin_value upload_tmp_dir "/var/www/sitename/data/mod-tmp" php_admin_value session.save_path "/var/www/sitename/data/mod-tmp" AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml AddType application/x-httpd-php-source .phps #!!!!!! RewriteEngine On RewriteRule ^/redmine(.*) /redmine/public$1 [PT,L] RailsBaseURI /redmine/public </VirtualHost>
and added in nginx.conf
location ~* ^/redmine/(stylesheets|javascripts|images)/(.*)\??.*$ { alias /var/www/sitename/data/www/sitename.com/redmine/$1/$2; access_log off; expires 10y; add_header Last-Modified: $date_gmt; error_page 404 = @fallback; }
but, when I try open http://sitename.com/redmine/ I got 404 error
Page not found The page you were trying to access doesn't exist or has been removed. Back
Can you help me please. Great Thanks!
Replies (1)
RE: I want run Redmine in Sub URI /redmine/, but got 404 error
-
Added by artlayers art almost 13 years ago
I can do what main page is opened, but every link same http://servername.com/redmine/public/login , but it is must be http://servername.com/redmine/login