Aquarion
  • Member for 12 years, 6 months
  • Last seen more than a month ago
5 answers
9 votes
16k views
How to secure a directory in Apache using a PHP session
6 votes

Unless you've changed the settings, PHP session data is stored in a variation on its own serialize() format in a temporary directory, and it's not easy to get at that without using PHP itself. ...

View answer
3 answers
4 votes
3k views
How to monitor Apache VirtualHost activity
4 votes

Have you tried Apachetop http://www.webta.org/projects/apachetop/ (Larger article about it here: http://www.howtogeek.com/howto/ubuntu/monitor-your-website-in-real-time-with-apachetop/

View answer
3 answers
1 votes
603 views
Joe's sad PHP permission problem (LAMP)
2 votes

Nicholas sees Joe's query, and suggests perhaps creating a separate directory that PHP can write to. He notes that if Joe does not intend for Apache to serve files directly from it, then that ...

View answer
6 answers
5 votes
2k views
Securing SSH on Linux Ubuntu
2 votes

On top of everything the top poster said, there is a script called "Denyhosts" which will deny access to anything that authenticates badly three times, or, for a more IP Tables way to do the same ...

View answer
4 answers
0 votes
250 views
Any reviews about the Amazon Elastic Compute Cloud (Amazon EC2)?
Accepted answer
2 votes

Using it for a dev project right now. It works really well, although I wouldn't want to use it as a generic hosting environment. Shutting down any instance destroys it, so you probably want to make ...

View answer
3 answers
0 votes
3k views
Create Subdomain(s) on Virtual Host on Ubuntu
2 votes

Okay, DNS: Open /etc/hosts, add lines like this: 127.0.0.1 localhost sajid.msj subdomain.sajid.msj anothersubdomain.sajid.msj If you want this to be available to other machines on the ...

View answer
10 answers
3 votes
2k views
Freeing up disk space
2 votes

Defragging won't screw anything up, but probably won't help the disk space either. Clear out the temporary directory, but also dig around the file structure for "temporary" data and downloads and ...

View answer
6 answers
2 votes
397 views
Using mod_rewrite to shutdown website
1 votes

Check your apache log file for errors, it's possible you'll be seeing a 404 somewhere for about/down.php. Otherwise, default Mod Rewrite debugging tips follow: Try adding this to your http config (...

View answer
1 answers
1 votes
314 views
Why am I getting blank error messages in my Apache error log?
1 votes

Shot in the dark, but by default apache redirects anything writing to stderr out to the error.log file, so if your script was generating any stderr output at all (a space, a newline) that's how this ...

View answer
1 answers
0 votes
598 views
Redirect problem using .htaccess mod_rewrite only for root
Accepted answer
1 votes

You possibly want Rewriterule ^$ http://www.example2.com/blah [L,R=301] (No slash) If this doesn't work, you should try adding this to your http config (Somewhere in the config, it doesn't work at ...

View answer
2 answers
0 votes
1k views
How to delete inodes in ec2 volume?
0 votes

One of the things that takes up a lot of inodes on ubuntu servers is old kernel packages, you may be able to free up a lot of inodes with sudo apt autoremove (or sudo apt-get autoremove)

View answer
3 answers
1 votes
234 views
HTACCESS Rewrite problem
0 votes

Try adding this to your http config (Somewhere in the config, it doesn't work at htaccess or virtualhost level) RewriteLog /tmp/rewrite.log RewriteLogLevel 9 This will provide you with a line by ...

View answer
7 answers
2 votes
12k views
Can't connect to MySQL server on 'localhost' (10048)
0 votes

Try connecting directly to 127.0.0.1 Under some circumstances, attempting to connect to "Localhost" will attempt to connect over an internal "socket" connection instead of via mysql's network ...

View answer
2 answers
0 votes
350 views
Confusion about Domain Management
0 votes

Tucows may not be the registration source, also. A lot of hosting companies buy though tucows using it as a reseller account.

View answer
3 answers
5 votes
417 views
Online Backup Strategy
0 votes

For actual service recommendations, for a local desktop, there are things like Jungledisk (Syncs a directory with an online version hosted using Amazon's S3) or Dropbox (Same thing, flat rate for ...

View answer