0 users online. Create an account or sign in to join them.Users


I am working on a website and restricted the access until official launch, using htaccess to allow few IPs, like that:

<Limit GET POST>
    Order deny,allow
    Deny from all
    Allow from MyIP.XX.XXX.XXX.XXX
    Allow from
    Allow from ::1
    Allow from mydomain.com

The awesome symphony played by the website is using few (but vital) remote datasources (to create and play some json stuff from frontend pages). But since I restricted the access, the server doesn't seems to access the remote datasources even with or ::1

Any idea of the config I should add in this .htaccess to allow symphony to access himself?

Solved finding the IP of the server with echo $_SERVER['SERVER_ADDR']; ^^

Ah, thanks for posting the solution!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details