Questions tagged as 'htaccess'

0
answers

Configuration of htaccess to capture all the GET data of a query string

I rewrote the rule in my url as follows: RewriteRule ^(.+)$ index.php?path=$1 [QSA,L] In php I get the parameters of $_GET['path'] and set up my controller, action and parameters. $this->controlador , $this->acao...
asked by 04.09.2015 / 18:12
0
answers

500 error on the server

The errors found were: Notice: A session had already been started - ignoring session_start() getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_...
asked by 07.05.2015 / 22:58
5
answers

URL friendly with .htaccess

I would like some help from you because I tried a few times but I did not get the expected result. I need through htaccess, to do the following: change the url that is shown in the browser, example: Current URL: meusite.com.br/criacao_de_si...
asked by 16.05.2014 / 18:53
3
answers

Domain without the www does not work

At the server root I have a "wp" folder where I have WordPress installed. I put it inside the folder because the site was not made with WordPress and yes the blog. When you enter the url www.domain.com/wp the blog opens without problems, bu...
asked by 21.10.2014 / 13:02
2
answers

CentOS 6 - Codeigniter - HMVC - Not Found

Good afternoon I'm developing a system with Codeigniter 2.X, and I use the HMVC concept. My folders look like this: ->system/ .htaccess ->application/ ->controllers ->... ->model ->... ->view...
asked by 14.11.2015 / 21:06
1
answer

Error Page 404 STANDARD PHP HTACCES

Have the following structure in .htaccess: RewriteEngine On RewriteRule ^www\/login\/?$ login/ [L,NC,R] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php ErrorDocument 404 www/errors/404.p...
asked by 13.07.2017 / 17:13
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
1
answer

Not returning the second parameter

I'm developing an api. Basically it requests a page according to the request. Example: http://localhost/mod/<name>/<version> the problem is being / version. I did htaccess this way: Options +FollowSymLinks RewriteEngine on...
asked by 06.12.2016 / 16:39
1
answer

Session does not start in php via htaccess

I'm trying to start a session in .htaccess using php_value session.auto_start 1 to avoid duplication of lines in php codes. But this is not working, is it always off?     
asked by 20.06.2015 / 17:15
1
answer

How to increase download time?

Within my project, in .htaccess , I have set the following settings for a company file-sharing system: php_value memory_limit 6000M php_value post_max_size 6000M php_value upload_max_filesize 6000M php_value max_execution_time 6000000 ph...
asked by 30.11.2016 / 18:18