Difference between revisions of "I want to change billing directory in URL"
From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with 'If you want to change billing directory in URL: <br><br> File:billing.png <br><br> Go to /home/mor/config/environment.rb file and Web_Dir = Rails.env.to_s == 'production' ?…') |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
'''NOTE''' new_dir_name has to be your chosen name | '''NOTE''' new_dir_name has to be your chosen name | ||
<br><br> | <br><br> | ||
Then | |||
mv /var/www/html/billing /var/www/html/new_dir_name | mv /var/www/html/billing /var/www/html/new_dir_name | ||
<br><br> | <br><br> | ||
And edit /etc/httpd/conf.d/m2.conf file by changing | |||
RailsBaseURI /billing | RailsBaseURI /billing |
Latest revision as of 06:16, 12 August 2015
If you want to change billing directory in URL:
Go to /home/mor/config/environment.rb file and
Web_Dir = Rails.env.to_s == 'production' ? "/billing" :
change to
Web_Dir = Rails.env.to_s == 'production' ? "/new_dir_name" :
NOTE new_dir_name has to be your chosen name
Then
mv /var/www/html/billing /var/www/html/new_dir_name
And edit /etc/httpd/conf.d/m2.conf file by changing
RailsBaseURI /billing
to
RailsBaseURI /new_dir_name
Make
service httpd restart
and your new_dir_name will appear in URL.