I've deployed an application (sf 1.4) on a shared hosting, but i have to connect it to a electronic payment module, which runs on some cgi scripts (located on cgi-bin directory). The sysadmin already configured the server so i can execute this files, in fact, in order for webpay (that's the name of the electronic payment mod) to work, i also need a static ip and some extra permissions, so all that has already been configured.
My problem is with the .htaccess file. I've tried several ways to make some rule that won't allow the front controller to process the cgi scripts, i've tried things like
- Code: Select all
RewriteRule cgi$ - [L]
or even tried skip the <ifModule> part with [S=1], but nothing seems to avoid that ANY url which starts with cgi-bin won't get processed by index.php, so i constantly get a 404 error because sf is trying to access a cgi-bin module, which of course doesn't exist.
I've already removed the generic rules on the routing.yml, btw.
Any help would be really appreciated