Jump to content

fissy

OTW
  • Posts

    414
  • Joined

  • Last visited

Posts posted by fissy

  1. apache comes as a package for mandrake, try "urpmi apache" to see.

     

    Apache is a webserver, it sends you the page you are reading now. In the case of that directory you link to, the guy doesn't have an html file for apache to send to your browser, so it instead lists what files there are in that directory.

     

    I hope thats some help,

    fissy

  2. i imagine the ones with sql wouldn't work because you haven't started mysql?

    As for the first two errors, they don't sound like there is anything actually wrong with your php install, just that you're missing half the test files.

     

    Try making this file (index.php) and viewing it through your server (http://localhost/another-test/index.php):

     

    <html>
    
    <head>
    <title>this is a test!</title>
    </head>
    
    <?php
    print "hello world!";
    phpinfo();
    ?>
    
    </html>

     

    edit: sorry if this post sounded like i was talking down to you, i'm tired :(

  3. Firstly, to my mind, mysql doesn't have a "testpage". Its a database, you enter the mysql front end either through a terminal or through a php script (like this forum does) to read and write data which is stored in a tabular format.

     

    /var/www/html is owned by root, for security reasons, as you might imagine. If your system had more than one user you wouldn't want them to all be able to change your webserver's front page. To change this do: "chown username /var/www/html" where username is, your username. You'll now be able to change the files in there and setup your site.

     

    Mandrake might put things in non-standard places, but in my experience, apache is a lot easier to use on mandrake than some other systems

     

    have fun!

     

    -fissy

  4. mine looks more like this:

     

    *****************************************

    NameVirtualHost *:80

     

    <VirtualHost *:80>

    ServerName www.domain1.org

    DocumentRoot /var/www/domain1

    #ErrorLog /dev/null

    #TransferLog /dev/null

    </VirtualHost>

     

    <VirtualHost *:80>

    ServerName mail.domain2.org

    DocumentRoot /var/www/domain2

    </VirtualHost>

     

    <Directory /var/www/domain2>

    order allow,deny

    allow from all

    </Directory>

    *****************************************

     

    the first is the default host in my configuration, it has the same server name as the system server name in apache2.conf, but i don't specify it as _default_. Whether you will need the directory directives will depend on where your virtual servers document roots are.

  5. hey all,

    i'm using a connexant router to connect to the net (PPPoA, thats BT's adsl to you and me) and am running a webserver on a private network (the 192.168.0.x range). I'm using the DMZ functionality so that people can access my webserver/email etc.

    This works fine, so long as i am trying to connect from a computer on the internet, i can't connect to my own webserver from inside the network. A client computer queries the dns system, gets the external ip address of the router, but the router won't forward the packets, resulting in a "request refused."

     

    I can sort of cheat by assigning a bunch of hostnames eg www2.domain.net (edit: which resolve to internal ipaddresses, ie. 192.168.0.10), but i find this far from ideal (i can't test my apache virtual servers)

     

    If anyone has any experience of making this work, please help! :)

     

    fissy

  6. what your asking is for a "primary domain controller"

    that means you have a universal login system for any of the windows computers (you'll have to do it slightly differentlyin linux.)

     

    Look for primary domain controller in the samba documentation bundled with samba on your machine.

  7. are you using shorewall to do your masquerading?

    if you are you can use shorewalls config files to make routes in your network.

     

    #       Example: Forward all ssh and http connection requests from the internet
    #                to local system 192.168.1.3
    #
    #       #ACTION SOURCE  DEST            PROTO   DEST    SOURCE  ORIGINAL
    #       #                                       PORT    PORT(S) DEST
    #       DNAT    net     loc:192.168.1.3 tcp     ssh,http
    #

     

    thats from the /etc/shorewall/rules file where you define your routes and open ports. (you can also choose open ports through MCC, though i'd advise stopping that as it has a habit of deleting the routes you setup).

     

    once you change anything in those files, restart shorewall "service shorewall restart"

    You can also set shorewall to start at boot in the services section of MCC.

  8. the trash icon is here:

    /home/$user/.icons/$theme/48x48/filesystems/gnome-fs-trash-$state.png

     

    $user - your name

    $theme - your theme

    $state - either empty, full or empty-accept

     

    alternatively, if you're trying to mod a theme that came with Mdk, it'll be in /usr/share/icons...

     

    happy skinning!

  9. i'm not sure what a USB Iomega drive is, but assuming its a hard drive, just time how long a big file takes to get from the drive to your ide hard drive.

    USB 1.1 has a limit of 12Mb/s (i think)

    USB 2 has a limit (in theory) of 480 Mb/s

     

    you should be able to tell the difference ;-)

  10. i think you should ignore ATI's offerings straight off.

    I have one of the fastest graphics cards available, but yet it is still beaten in glxgears by nvidia grapics cards 2 years older than it. ATI cards are a nightmare to install, then once you've got them in, they're still crap.

     

    so nvidia:

     

    geforce1/2 - ancient history

     

    geforce3, really old, hard to find i'd have thought, probably not particularly good value.

    TI cards are better.

     

    Geforce4:

    The MX Range - these cards are to my knowledge just rehashed geforce2 cardsfor the budget market at the release of the new geforce4 TI cards. The fact that they have a 4 after them is a marketing gimic. I wouldn't get one today, they can probably cope for the time being, but not particularly future proof. (IMO)

    The TI range - the real geforce4s - fast and good value at the moment i think. From what i hear, these are nice to install too - don't trust me on that - i don't own one.

     

    Geforce5 (FX)

    5200 range

    The FX range's budget offering - actually slower than a geforce4 mx reportedly - that might just be windows though, due to the wonders of directx

     

    5600/5700, ultra/non-ultra. The sweet spot imo. Not cheap cards, but half the price of their big bro's in many cases for 90% of the speed.

     

    5800/5900, ultra/non-ultra. The mutts nuts. very expensive, but the best there is.

     

    In my opinion? a geforce4 TI, i heard that the FX's were harder to install, and their main advance is direct x 9 compatibility - not all that great for a linux user.

     

    Beware - i haven't owned all these cards as you might guess! - hence no glxgears.

    (apart from my radeon - ~2000).

    I think my summary of the pecking order is fairly accurate though.

×
×
  • Create New...