Questions tagged as 'httpd'

1
answer

http URL redirect

I'm trying to do a url redirection, but it's not working, could anyone tell me what's wrong? <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} ^(.*)/teste(.*)$ // verifica se tem /teste em alguma url Rewr...
asked by 05.02.2018 / 13:40
1
answer

Why are apache subdomains sending to the default site?

Today I have a PHP system that uses an IP, so it looks like this: link I'm configuring subdomains to respond to requests and stay like this link link It turns out that the browser always goes to the main site, does not obey...
asked by 10.09.2018 / 15:53
0
answers

Redirect HTTPD with parameters in the url

How do I make a redirect in httpd redirect.conf with parameters? I put it like this: Current link: RedirectMatch 301 ^/parceira Go to: /parcerias/categoria.html?utm_source=parceira&utm_medium=site&utm_campaign=parc...
asked by 02.02.2018 / 16:25
1
answer

How to configure xampp to accept the openssl_pkey_new command?

I'm trying to use the openssl_pkey_new command, it was working fine in wamp, but when using xampp it stopped. The code looks like this: $sslConfig = array( "digest_alg" => "sha512", "private_key_bits" => 2048, "private_key...
asked by 14.10.2017 / 22:03
1
answer

"/" Site root in PHP

I'm sorry if I'm repeating any questions here, but I've searched and did not specifically find my problem, so come on. I did a video tutorial, and I created a PHP site in which, on my machine (windows 10 with Xamp) I edited the HOSTS file, I...
asked by 04.10.2018 / 15:43