Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
Apache 2.4 permission only from other domain in the same server

I have an embedded page (yyy.subdomain.com) that i call and share session from my web with subdomain(xxx.subdomain.com), but i need that the embedded page can be only accessed by my app and not by the url in a browser. this is my conf in my vhost of apache.

<VirtualHost 127.0.0.1:443 _default_:443>
  ServerAlias yyy.subdomain.com 
  SSLEngine on
  SSLCertificateFile "/opt/user/apache/conf/certs/server.crt"
  SSLCertificateKeyFile "/opt/user/apache/conf/certs/server.key"
  DocumentRoot /opt/bitnami/apache/htdocs/yyy
  <Directory "/opt/bitnami/apache/htdocs/yyy">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
  </Directory>
</VirtualHost>

Also I try to remove "Require all granted" and write "Require all denied" and then use Require host / ip but it didn't work

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I found the solution in other way, i put a script in the header of the embedded page to redirect if is not embedded.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda