Find the answer to your Linux question:
Results 1 to 6 of 6
I have a website directory on my windows machine which I can acces via 'localhost' I want to transfer this to my linux SUSE10.2 PC and access it from windows ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! roger's Avatar
    Join Date
    Feb 2005
    Posts
    28

    Accessing a website from windows on local network


    I have a website directory on my windows machine which I can acces via 'localhost'

    I want to transfer this to my linux SUSE10.2 PC and access it from windows and hopefully provide an FTP access to it so I can use filezilla to access it.

    I have my apache server running and can access the PHP test file so I know I have a route through to the apache from windows.

    What do I have to do to get the website dir. installed so that apache will serve it if I type "192.168.1.66/wms/index.html" in a web browser on my windows machine?

    In fact is that the right thing to type from the windows browser?

    At the moment I have not even set up a folder for the site or made access permissions/users at the apache end as I'm not sure how to start.

    Anyone help?

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    19
    I can offer you only help so far:

    1) Setup Apache so you see an Apache Page which says: "if you can see this, it means that the installation of the Russian Apache web server software on this system was successful. You may now add content to this directory and replace this page."

    then, assuming you have setup your network correctly, you should be able to enter the ip address of the web server in any browser, (try: http://xxx.xxx.xxx.xxx).

    That should be your first step, if you are a first timer.
    then start playing with the httpd.conf

  3. #3
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    You also have to find the Apache webroot. Since it's SUSE, chances are it is in /srv/www/htdocs - put the web directory in there and navigate to http://192.168.1.66/wms
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! roger's Avatar
    Join Date
    Feb 2005
    Posts
    28

    Graet Thanks, but . . .

    That works now but now when I start to setup the ftp to transfer and operate the site I get refusals. I know its the SUSE firewall beecause if I trun it off the ftp works.

    This must mean that although the firewall is letting in the http it is rejecting the ftp.

    Does anyone know the format for IP tables (I am trying to use WEBMIN to do it) to allow FTP from my loval network? OR is it just a port (21?) problem?

    Thanks again

  6. #5
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    Use YaST, it's easier. I don't use a standard FTP client, I connect via WinSCP3. You can do everything an FTP client does and it's great. I also recommend you download PuTTy if you plan on executing commands, as well.

    Thumbs up to Webmin. I put that on every Linux server I manage.
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  7. #6
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    Quote Originally Posted by roger
    That works now but now when I start to setup the ftp to transfer and operate the site I get refusals. I know its the SUSE firewall beecause if I trun it off the ftp works.

    This must mean that although the firewall is letting in the http it is rejecting the ftp.

    Does anyone know the format for IP tables (I am trying to use WEBMIN to do it) to allow FTP from my loval network? OR is it just a port (21?) problem?

    Thanks again
    use netstat -an to see if ftp is running. If you turn you firewall off and it works that sounds like the firewall is blocking it.

    I don't know the exact command for ftp in IPchains but I bet if you google it you can come up with the right command.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

Posting Permissions

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