Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17
ummm how do i do that??...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Nov 2004
    Posts
    36

    ummm how do i do that??

  2. #12
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Well,

    do a
    Code:
    ls /etc/sysconfig/network-scripts
    and post the result please.

    //jonas
    --
    in Linux Computing we Trust

  3. #13
    Just Joined!
    Join Date
    Nov 2004
    Posts
    36
    Code:
    ifcfg-eth0      ifdown-ipv6  ifup          ifup-isdn    ifup-sit
    ifcfg-lo        ifdown-isdn  ifup-aliases  ifup-plip    ifup-sl
    ifdown          ifdown-post  ifup-cipcb    ifup-plusb   ifup-wireless
    ifdown-aliases  ifdown-ppp   ifup-ippp     ifup-post    init.ipv6-global
    ifdown-cipcb    ifdown-sit   ifup-ipv6     ifup-ppp     network-functions
    ifdown-ippp     ifdown-sl    ifup-ipx      ifup-routes  network-functions-ipv6

  4. #14
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Have you got a index file in /var/www/html/ cause it seems you are trying to get a directory listing and you have -Indexes in your <Directory> options I think thats why your getting
    Directory index forbidden by rule: /var/www/html/
    And what are the permissions on your error file /var/www/error/noindex.html? You are getting a permissions error there
    (13)Permission denied: file permissions deny server access: /var/www/error/noindex.html

  5. #15
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Well,

    There is no way you can connect to 192.231.203.132 on this server, because it is not configured.

    Why do you expect to be able to connect to that address?


    //jonas
    --
    in Linux Computing we Trust

  6. #16
    Just Joined!
    Join Date
    Nov 2004
    Posts
    36
    Quote Originally Posted by Giro
    Have you got a index file in /var/www/html/ cause it seems you are trying to get a directory listing and you have -Indexes in your <Directory> options I think thats why your getting
    Directory index forbidden by rule: /var/www/html/
    And what are the permissions on your error file /var/www/error/noindex.html? You are getting a permissions error there
    (13)Permission denied: file permissions deny server access: /var/www/error/noindex.html
    i do have a index file in there and all read and owner write (644)permissions.. that page shows up alright though

    Quote Originally Posted by cjl7
    Well,

    There is no way you can connect to 192.231.203.132 on this server, because it is not configured.

    Why do you expect to be able to connect to that address?
    well i went into network device control and in there under eth0 it had primary dns: 192.231.203.132

    and in the redhat config tool i put it(the ip) into server name box

  7. #17
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Ok,

    Primary DNS is where this host should look for name-servers. (i.e. when you type www.foo.org in your browser it will send a request to your primary DNS and get the ip-address back)

    So I think your config is alright, just use the 192.168.0.96 to connect to the web-server.

    If you want the server to service another ip-addr you need to (re)configure your network card to listen to that address. (and of course it must be on the same subnet provided to you)

    Is this running behind a firewall/router (maybe wireless?), if it is and you wish this server to be on your external site you need to do one of 2 things;

    1. port forward http and https from proxy->192.168.0.96
    2. put your web-server in your DMZ (de-militarized zone)

    There is also a standard config for the RedHat web servers that says that directory listing isn't allowed in the / of the webserver. If you want to display folders-listings just create a directory under /var/www/html and you should be alright.

    Example;

    mkdir -p /var/www/html/jonas
    cp -r /var/log/* /var/www/html/jonas/

    in your browser
    192.168.0.96/jonas/

    And you should see some files...

    //jonas
    --
    in Linux Computing we Trust

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •