Questions tagged as 'apache'

2
answers

Apache directing two URLs to the same folder

I have 2 sf2 projects in different folders. When they access the URLs localhost/projeto01 and localhost/projeto02 m go to same location (project01 even when access / project02). I created a vhost after that to see if it solved...
asked by 27.02.2014 / 03:41
2
answers

Configuring Virtual Hosts in Apache

I'm trying to create a virtualhost here in the company, but it does not work. The funny thing is that I created the same way of other virtualhosts that are working normally. Follow the example below: VirtualHost 1 <VirtualHost *>...
asked by 14.02.2014 / 18:31
2
answers

How to block directory files recursively?

I'm trying to block all files in a particular directory with the exception of .js , .jpg , .css , .gif , .png . I have this code, but it is not working the way I want it to be: <Files ~ "\.(jpg|jpeg|png|gif|css|js)$"> order de...
asked by 26.05.2017 / 21:41
1
answer

How to redirect url with query with .htaccess?

I have the following problem, I need to redirect the following url: site/nossos-socios.php?termo=teste for site/nossos-socios/?q=teste I need to have the interrogation before q =, I tried to use the escape with the interrogation, but i...
asked by 28.04.2017 / 17:05
1
answer

Friendly link with htacess

I made some settings in my htacess . Check it out: Within my folder www I have a System folder and inside it I have a file named Login.php . I set up forever that I type 127.0.0.1 apache always calls the file Log...
asked by 10.10.2016 / 15:51
1
answer

Forbidden 403 apache2 on Ubuntu

Well this is the error I'm having with my apache. I changed my apache directory to: /media/marcelo/Arquivos/Google Drive/localhost and this directory has 777 permission. Forbidden You don't have permission to access / on this server....
asked by 10.05.2017 / 00:36
1
answer

Apache in different different programming languages

What is the difference between the Apache server for PHP (Wan) and the Web Container Apache TomCat?     
asked by 09.09.2016 / 20:04
1
answer

How to change Wordpress .htaccess via FTP

I need to make changes to the .htacces of my wordpress, but I think the file I found is not the correct one. Does anyone know where .htaccess is that change the pages of wordpress?     
asked by 21.12.2016 / 20:36
2
answers

How to write the date and time of an error in the Django log?

I started a project in Django 1.4, and every mistake I made via try..except I printed in sys.stderr - making it fall into the same Apache log file (error.log). It worked, but only for the errors that I explicitly took, and in addit...
asked by 03.10.2016 / 20:28
1
answer

.htaccess import another file with rule

I have the following problem, I have an administrative area where redirects can be registered, and these redirects are saved in the database, I currently do the redirection via PHP , but I would like to do this redirection via htaccess...
asked by 08.03.2016 / 13:24