I'm programming in PERL & PHP, but I have to make urgent changes to web site that appears to be built in ruby on rails and I'm lost as it is my first contact.
I'm trying to delete section of web site: my-site.com/corporate
There is no such folder and no html files in root, so I assumed that it's url overwritten in .htaccess, but web site is fully functional even if I delete .htaccess file, it makes no difference.
.htaccess
Code:
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
(ruby comments are left out)
I have also found above public root folder
config/routes.rb file with paths/URLs obvious used by web site, like:
Code:
map.connect '/corporate', :controller => 'corporate', :action =>'corporate'
and deleted that lines I don't want, but it also has no effect...
How do I make changes to website, is there any server cache that I can delete and how or do I need to restart server (I would have to request hoster to do it)?
I have attempted to delete browser history, so it's not a problem.