Welcome To Snipplr
Everyone's Recent Snippets Tagged apache
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
797
posted 13 years ago by krillzip
Add an Apache virtual host via command line. Run as ./create mysite.domain.com
0
629
posted 13 years ago by theriddlebrothers
Save in a php file and run in the directory.
Remove directory files through ftp.
Remove php file
0
688
posted 13 years ago by resting
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
923
posted 14 years ago by Meander365
use this to find all files/folders which have been given 777 (write all) permissions on a linux server
1
652
posted 14 years ago by fillyouin
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
1254
posted 14 years ago by dom111
Creates a self-signed SSL Key for use on a Windows development server. Instructions: http://dpaste.com/237670/
1
683
posted 14 years ago by zonetrooperex