Search:

Type: Posts; User: mregister; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Thread: Internal DNS

    by mregister
    Replies
    7
    Views
    1,136

    [ubuntu] Internal DNS

    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...
  2. Replies
    10
    Views
    883

    [ubuntu] Re: File Permissions

    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...
  3. Replies
    10
    Views
    883

    [ubuntu] Re: File Permissions

    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....
  4. Replies
    10
    Views
    883

    [ubuntu] Re: File Permissions

    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.
  5. Replies
    10
    Views
    883

    [ubuntu] Re: File Permissions

    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...
  6. Replies
    10
    Views
    883

    [ubuntu] Re: File Permissions

    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...
  7. Replies
    2
    Views
    783

    [ubuntu] Re: Stuck at create user account for MySQL

    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...
  8. Replies
    10
    Views
    883

    [ubuntu] File Permissions

    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...
  9. Thread: fail2ban

    by mregister
    Replies
    3
    Views
    2,405

    [ubuntu] Re: fail2ban

    Maybe your config is telling fail2ban to run in more than one instance?



    Try: http://www.fail2ban.org/wiki/index.php/MANUAL_0_8
  10. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    I dont' understand. Put that where? The only place that $_SESSION is set is = $userid.

    Maybe I don't understand you suggestion?
  11. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    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 =...
  12. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    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...
  13. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    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??
  14. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    This is the script entirely:


    <?php

    session_start();

    if (isset($_POST['userid']) && isset($_POST['password']))
    {
    $userid = $_POST['userid'];
  15. Replies
    15
    Views
    728

    Re: PHP/Programming Newbie

    yes session_start() is the very first line. $userid is set from:

    $userid = $_POST['userid'];
  16. Replies
    15
    Views
    728

    PHP/Programming Newbie

    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...
  17. [ubuntu] Re: How to tell Ubuntu which ethX device to listen on for DHCP

    nano /etc/network/interfaces
  18. [all variants] Re: RAID + online backup scheme? "Lazy" mirroring?

    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....
  19. Replies
    5
    Views
    557

    [ubuntu] Re: 301 Redirects

    Ok thanks Thirtysixway this worked:

    Options +FollowSymlinks
    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^example.com [NC]
    RewriteRule ^(.*)$ http://www.example.com/ [R=301,NC]

    ...
  20. Replies
    5
    Views
    557

    [ubuntu] Re: 301 Redirects

    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
    ...
  21. Replies
    5
    Views
    557

    [ubuntu] 301 Redirects

    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...
  22. Replies
    7
    Views
    710

    [ubuntu] Re: Help, server under attack.

    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.
  23. Replies
    0
    Views
    613

    [ubuntu] securing awstats

    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...
  24. Replies
    3
    Views
    522

    [ubuntu] Re: Webiste Analysis

    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...
  25. Replies
    3
    Views
    522

    [ubuntu] Webiste Analysis

    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...
Results 1 to 25 of 57
Page 1 of 3 1 2 3