PHP Classes

PHP Htaccess File Configuration: Generate Apache configuration to redirect requests

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-10-10 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 223 This week: 4All time: 8,144 This week: 135Up
Version License PHP version Categories
criarhtaccess 1.0.0Proprietary License5HTTP, PHP 5, Configuration
Description Author

This package can generate Apache configuration to redirect requests.

It can generate the .htaccess file in the document root directory of the current domain of the site that executes this class.

The .htaccess file defines parameters to configure the Apache Web server to perform several types of requests. Currently, it can:

- Redirect user-friendly URL accesses to a script named index.php

- Redirect all non-SSL requests to the same URL of a site in the SSL version

The class can also remove the .htaccess file from the current domain document root directory.

In Portuguese:

Esta classe pode criar o arquivo .htaccess para usar como configuração do servidor Web Apache.

Uma classe que permite criar arquivo .htaccess para redirect em ssl, criar url amigavel com variavel $url.

Innovation Award
PHP Programming Innovation award nominee
October 2021
htaccess files are used with the Apache configuration to set up specific parameters that define how to Web pages to the user browsers.

Many PHP applications developers need to configure the .htaccess file to handle requests to access many types of pages using a single PHP script.

This package can generate a .htaccess file to set up that Apache Web server configuration and redirect requests to the Web server using HTTP to use HTTPS.

Manuel Lemos
Picture of Maic Nogueira
Name: Maic Nogueira <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 4023325 in Brazil Brazil
Week rank: 132 Up9 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file CriarHtaccess.php Class Classe Criar htaccess

 Version Control Unique User Downloads Download Rankings  
This week:4
All time:8,144
This week:135Up
User Comments (1)
Ai está uma óptima classe, no entanto o .
24 days ago (José Filipe Lopes Santos)
For more information send a message to info at phpclasses dot org.