Welcome To Snipplr


Everyone's Recent Snippets Tagged apache



First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases. Duplicate the file /etc/apaches/sites-available/default, and name it subdomains. Edit the new file...
1 1904 posted 15 years ago by krillzip
Add an Apache virtual host via command line. Run as ./create mysite.domain.com
0 1362 posted 15 years ago by theriddlebrothers
Returns a list of the number of connections by IP.
0 2576 posted 15 years ago by klovera
0 3690 posted 15 years ago by Affix
Save in a php file and run in the directory. Remove directory files through ftp. Remove php file
0 1375 posted 15 years ago by resting
0 1385 posted 15 years ago by NiReiC
0 1602 posted 15 years ago by minipark
Great for developing multiple sites under a wamp install. Removes the headache of paths and domains and changing them when deploying to their live environment.
1 1911 posted 15 years ago by Meander365
2 etapas: .htaccess e config.php
0 1260 posted 15 years ago by joaobarbosa
Adicionhar o código ao arquivo .htaccess do site
0 1267 posted 15 years ago by joaobarbosa
0 1247 posted 15 years ago by newsok
1 2914 posted 15 years ago by iloveitaly
List all FTP users on server
0 1578 posted 15 years ago by fillyouin
use this to find all files/folders which have been given 777 (write all) permissions on a linux server
1 1265 posted 15 years ago by fillyouin
0 3557 posted 15 years ago by juannaviap
I’ve recently had to quickly parse an Apache log file, to get basic usage statistics for a site over a month and wanted the ability to quickly process any general logs and store them in a MySQL table, so I’ve made a small package class.log. In...
2 2666 posted 15 years ago by dom111
0 1274 posted 15 years ago by therobot
how to get your apache error log
0 1672 posted 15 years ago by adriamooney
Creates a self-signed SSL Key for use on a Windows development server. Instructions: http://dpaste.com/237670/
1 1513 posted 15 years ago by zonetrooperex
1 1392 posted 15 years ago by bluematt
0 1539 posted 16 years ago by vigoncas
this function return associative array from SERVER_SOFTWARE
1 1889 posted 16 years ago by naz