I want to change billing directory in URL

From Kolmisoft Wiki
Revision as of 07:06, 6 August 2015 by Aisteb (talk | contribs)
Jump to navigationJump to search

If you want to change billing directory in URL:

Billing.png

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

Than

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.