Questions tagged as 'apache'

1
answer

.htaccess - rewriting non-friendly URL

When I make the request: http://localhost/project/mycontroller/ URL rewrites to http://localhost/project/mycontroller/?l=mycontroller That is, in addition to /mycontroller the .htaccess (I suppose) is concatenating in the url th...
asked by 04.08.2014 / 15:00
0
answers

Exception while deleting directory using FileUtils.deleteDirectory

The directory has 6 files inside it. The exception that occurs is java.io.IOException: Unable to delete file: tmp \ umDosArquivos. Manually, I can delete all files and directory. I used the canWrite method of File to see if there was any lock, b...
asked by 19.03.2015 / 12:39
2
answers

Apache / PHP server does not respond while doing SOAP request

I'm working on a PHP application that consumes a third-party Web Service through SOAP requests. But something that is messing up is that while one page is doing a SOAP request no other page responds. Is there a way to make the request retrieving...
asked by 30.03.2015 / 16:33
1
answer

https redirect without www with apache and startssl [closed]

It's a bit complicated thing ... But the problem is simple. I use the free certifier StartSSL and as it's free I can create keys only for my domain and a subdomain. It turns out that I've replaced and eventually lost the (.key) key that i...
asked by 30.11.2014 / 00:11
3
answers

Get Windows user through PHP

Is it possible to get the computer user login from PHP? The system I am developing is for an intranet, so for the user to log in, it would suffice to compare the user who is logged in with the users of the database, if not, he could not log in....
asked by 23.05.2014 / 05:48
2
answers

Questions about htaccess

I have a friendly link that would be localhost/artists/nome-do-artista/ , however I want to create pages within it eg Biography. localhost/artists/nome-do-artista/biography , only that my htaccess does not allow, how to solve? I'...
asked by 18.02.2018 / 17:48
2
answers

Is it possible to send email with xampp from a local server?

Well, from time to time, I find myself in the following situation where I can not test the sites / systems I develop. Almost always, I develop the system on my machine, and then upload it to a hosting server. I'd rather always test everything...
asked by 03.03.2016 / 21:00
2
answers

Local Server for Mac OSX

I bought my first week. I'm looking for a local server that ran nice on MacBook Pro, but what I use in Windows (WAMP) does not have it for Mac.     
asked by 11.03.2015 / 02:02
1
answer

How to redirect a URL always with slash (/) in the end?

I have this code: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteRule . /index.php [L] </IfModule> When I type http://localhost/path I'd like it to redirect t...
asked by 14.09.2014 / 21:00
2
answers

I can not work with uri (routes) using virtual hosts

I created a virtual host using apache, the problem is that I can access the site in my localhost as follows: site.com To access my site in localhost this way I did the following in the / etc / hosts file: 127.0.0.1 site.com And I made...
asked by 15.09.2017 / 04:46