Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can Linux serve webpages to Windows on same PC?

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
SwissMac



Joined: Sun Apr 10, 2005 7:42 pm
Posts: 9

PostPosted: Sun Apr 10, 2005 7:52 pm    Post subject: Can Linux serve webpages to Windows on same PC? Reply with quote

If I install a Linux distro with the required apps to act as a webserver onto a PC, can I then access this webserver via the Windows partition on the same computer, or is it a "one or the other" approach only?

TIA

Mac
Back to top
View user's profile Send private message
brian



Joined: Thu Apr 07, 2005 7:53 am
Posts: 36

PostPosted: Sun Apr 10, 2005 8:14 pm    Post subject: Reply with quote

One or the other I'm afraid. Its not possible to boot 2 partitions on the same pc at the same time.

You could install the linux distro and then access the webserver from another pc
Back to top
View user's profile Send private message
greenpenguin



Joined: Sat Apr 09, 2005 11:08 am
Posts: 2

PostPosted: Sun Apr 10, 2005 8:28 pm    Post subject: Reply with quote

I suppose it might be possible to do something with VMware or QEMU...
Back to top
View user's profile Send private message
Erin
LXF regular


Joined: Thu Apr 07, 2005 8:35 pm
Posts: 141
Location: The Olde Smoke south of the River

PostPosted: Mon Apr 11, 2005 8:34 pm    Post subject: Reply with quote

If you are running a webserver, you can just serve the pages to the local machine. You do not need another OS at all. These are simple facts of software on any platform.

Software runs on an OS that runs on some hardware. If the OS is not alive-alive-o, the software will not be either.

In Linux, you can choose numerous webserver. Apache and Roxen spring to mind but there are many other choices as well. See what your distro provides. If you need further asistance, just ask.

Regards Erin
_________________
Just beneath my skin I'm screaming. Faithless::Insomnia.
Dual PIII 550 with Ubuntu [semi-bleeding].
Back to top
View user's profile Send private message
marlight



Joined: Mon Apr 11, 2005 8:52 pm
Posts: 6

PostPosted: Mon Apr 11, 2005 9:04 pm    Post subject: Reply with quote

Install the Windows port of Apache on the Windows partition. Also install Apache on the Linux partition.

Creat a FAT32 formatted parition that will be accessible to both Windows and Linux, and store the web pages on it. Configure both Apache instances so that "DocumentRoot" is pointing at the files on this partition. Bingo, shared web pages across both partitions.

Or grab a copy of VMWare and fire that up for the rare occasions when you just _have_ to run Windows.
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Apr 18, 2005 1:48 am    Post subject: Reply with quote

Thanks for the answers, I thought it might turn out that way. AFAIK it is easier to install Apache on Linux than on Windows (in worst case you can just let the initial Linux Pro distro auto-install it). Perhaps I am wrong. I just want to serve myself webpages to test what I am writing/investigating when needed. Until I have two PCs at home I have to keep Windows running (unfortunately) and I was worried also that if I did eventually set up Apache on W98 it would not be as secure as it would have been if running on Linux. I guess I just have to wait until I can set up a second machine with either Mac OS X or a PC with Linux.

Thanks,

Mac
Back to top
crimmer



Joined: Tue Apr 05, 2005 9:54 pm
Posts: 3

PostPosted: Thu Apr 21, 2005 1:48 pm    Post subject: Reply with quote

Apache is actually extremely easy to set up on Windows. (NT/2000/XP at least - I haven't tried 9x, but I'm sure it'll be fine). As to security, it's only an issue if someone can get to the machine from outside the house, either because you have a wireless network with no/poor security (less than WPA), or the W98 machine is connected to the outside world via a modem (via a router using NAT is safe, as long as you don't have port forwarding from the router to your W98 machine). If someone is inside the house, they can just boot the W98 PC, so there's no point worrying about exploits via Apache for W98 or W98 itself, even if there are any.

Chris.
Back to top
View user's profile Send private message
andyr



Joined: Sat Apr 09, 2005 10:22 pm
Posts: 1

PostPosted: Thu Apr 21, 2005 3:29 pm    Post subject: Reply with quote

A real easy install of apache which also includes php and mysql can be found at http://www.easyphp.org/

Andy
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast