Question and this maybe a router issue. I can't resolve my website by name internally. I can bring up the site with the ip address but not with the domain name. I do not have an interanl DNS server...
Type: Posts; User: mregister; Keyword(s):
Question and this maybe a router issue. I can't resolve my website by name internally. I can bring up the site with the ip address but not with the domain name. I do not have an interanl DNS server...
LOL. The deal is that the dump files are named with a time stamp and my windows box can't deal with that. Ex: backup-03-21.09-00:00:01. Windows can't deal with the colon. Duh! I knew it was something...
Tunnelier uses SFTP. The cronjob was setup with root. But the permissions seem fine like cdenly says. The Tunnelier error log says:
I am not using ACL's. I'll keep looking and report back....
Yes I did crontab -e but I can't rember for sure if I put sudo in front or not. I know this is something goofy. Thanks for the input cdenly, I will report back when I figure someting out.
The permissions on all the files are:
So I guess I would have to login as root to download them? I am currently logging in with Tunnelier with the same account that created the folder and the...
That's the thing that I don't understand. Everything is done with the same user. It's the only user there is. Like I said I can download a file that I create manually in the directory but not any of...
mysql -u [your username, assuming it's an admin user] -p
it will then ask for your password and just use the one for the user you are logged in as. If you are an admin then that will get you to...
Hello All,
I am having what I belive is a file permission issue. I wrote a script that basically runs a mysqldump and copies that file to a folder on root /backup/mysql. I have set that script to...
Maybe your config is telling fail2ban to run in more than one instance?
Try: http://www.fail2ban.org/wiki/index.php/MANUAL_0_8
I dont' understand. Put that where? The only place that $_SESSION is set is = $userid.
Maybe I don't understand you suggestion?
No the userid is stored as a varchar. I am starting to think it is a cookie issue. Maybe I need to set a cookie to track the session? I added this to the bottom of the first page:
$cookie =...
yes session_start() is at the top. So confusing. The login worked. After I put that echo statment in you suggested it reads "You are logged in as test" which is right, but when I go to the next page...
I added the line suggested by konqueror
'You are logged in as: ' .$userid and that does print out the user name. I know the login portion works, it's just the session part that does not work??
This is the script entirely:
<?php
session_start();
if (isset($_POST['userid']) && isset($_POST['password']))
{
$userid = $_POST['userid'];
yes session_start() is the very first line. $userid is set from:
$userid = $_POST['userid'];
Hello All,
I am trying to learn PHP from a book and I am going through an example that I can't get to work. I have gone over it several times and from what I have read I am starting to think that...
nano /etc/network/interfaces
I need to learn all I can about storage systems so do you have any good book recommendations on that? Any and all recs are much appreciated. Love this thread btw, lot's of good points to consider....
Ok thanks Thirtysixway this worked:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/ [R=301,NC]
...
No dice. This is not a heavly configured machine and www.example.com comes up fine but still can't get the example.com to www.example.com to work. Here is my .htaccess file:
RewriteEngine on
...
Hello All,
Does anyone know of a good tutorial on how to setup a 301 redirect with ubuntu/apache2 ? And let me say that I am not entirely sure that a 301 is what I need. What I am trying to...
I recommend installing fail2ban if you have ssh open. I had a box up for 2days before I got around to installing it and the next day after installing I had a nice sized fail2ban log.
Hello All,
I installed awstats and it runs like I would expect but after further reading I want to move it to a virtual host for security reasons. So I created a virtual host admin.example.com but...
Ok that worked. Thanks for the .htaccess tip. I had seen that before but wanted at least one more opinion. The awstats was an easy setup. I followed:
http://www.debuntu.org/book/export/html/67 with...
Hello All,
I need to get all the usual website statistics and after looking around I like the reports that are generated by awstats however it looks to be a potential security risk. Does anyone...