Posts Tagged ‘Apache’

Apache access right htaccess

This item was filled under [ Apache ]

Set a password database htpasswd -c /var/www/html/www.abc.com/.passwd user chmod 750 /var/www/html/www.abc.com/.passwd chown apache:apache /var/www/html/www.abc.com/.passwd Set a file’.htaccess’ in corresponding directory (var/www/html/www.abc.com) In ‘.htaccess’ set the following option AuthType Basic Auth Name “Hello ! Please Login !” AuthUserFile /var/www/html/www.abc.com/.passwd require vaild-user Restart apache server cd /etc/httpd/conf vi httpd.conf <Directory”/var/www/www.example.com”> AllowOverride AuthConfig </Directory> Edit the file /etc/httpd/conf/httpd.conf, [...]

Continue reading...

Tagged with: [ ]

Speed up Your WordPress Blog

This item was filled under [ Wordpress ]

http://www.earnersblog.com/digproof-your-wordpress/ http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/ Install the Wp-Cache 2.10 Plugin WP-Cache 2.10 will cache a physical copy of each post into a specified folder on your server. Since WordPress usually serves content dynamically it has to query mysql everytime it goes to load a post. If you get dugg you’ll end up with an insane amount of mysql [...]

Continue reading...

Claster Manage Server using mod_jk 1.2.x with apache2

This item was filled under [ Jboss ]

Reference: http://www.jboss.org/community/docs/DOC-12525

Continue reading...

Tagged with: [ , , , ]

Apache Virtual Host Configuration

This item was filled under [ Linux, Uncategorized ]

1. vi /etc/httpd/httpd.conf 2. add the following code at the bottom NameVirtualHost [ip address]:80 <VirtualHost [ip address]:80> DocumentRoot /Document/root/ ServerName server.name.com ServerAlias server.alias.com allow from all Options +Indexes ErrorLog /var/log/httpd/xxxxx-error.log LogLevel emerg CustomLog /var/log/httpd/xxxxx-access.log "common" </VirtualHost> 3. /etc/init.d/httpd restart

Continue reading...

Tagged with: [ , , ]

TWiki Installation

This item was filled under [ Application Installation ]

1. Download TWiki from http://twiki.org2. Save it in /var/www/html/3. mkdir twiki4. mv [package].tgz twiki/5. Go http://twiki.org/cgi-bin/view/TWiki.ApacheConfigGenerator Generate apache conf file6. Copy all and save it to /etc/http/conf/twiki.conf7. vi /etc/httpd/conf/http.conf8. You can also place it anywhere else add the following line to the end of your main httpd.conf file: include “/path/to/twiki.conf”

Continue reading...

Tagged with: [ , , ]
Page 1 of 212