http://docs.webfaction.com/software/static.html#redirect-a-domain-with-a-static-cgi-php-app
Static Files, CGI Scripts, and PHP Pages - can be served by two different, but related, types of applications, Static-only and Static/CGI/PHP applications.
Tópicos:
Static-only
Serving Static Media
Setting expires max
Static/CGI/PHP
Installing a Custom PHP Package
Adding a MIME Type
Blocking an IP Address or Host Name
Changing the Handler for Files
Enabling Server Side Includes
Granting Apache Write Access
Hiding Configuration Files
Password Protecting a Directory with a Static/CGI/PHP App
Redirect a Domain with a Static/CGI/PHP App
Using RewriteBase
Serving HTML Files as PHP Scripts
Troubleshooting
Error: 500 Internal Server Error
Error: Permission denied
Error: Premature end of script headers
Error: No such file or directory
Error: Invalid command or Illegal option with .htaccess
URLs without a Trailing Slash Redirect to the Wrong Domain
Uploaded Files Owned by Apache
Nenhum comentário:
Postar um comentário