|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Jan 2000
Posts: 142
|
Hello everyone! I feel like I am finally getting somewhere. After a long time of playing around with Linux I am starting to understand how things work here. I am using Caldera 3.1 and set up Samba and Apache on it. Everything seems to be working OK so far. Now my question is can I serve two sites from one pc and if I can what do I need to do! Thanks for all of your input and let me know if you need more information from my end. Thanks! Leo.
|
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Yep, you can two or twenty or more off of one server. What you would do is to create separate directories for each of your sites. Then use the VirtualHosts in Apache to setup the different accounts. It is pretty easy. If this is a non-local webserver and you are actually serving up pages on the Internet, you might want to consider taking Samba off, since it can be a security risk.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#3 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Absolutely!
You need to read on the DNS howto sections on how to get it working correctly. http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html This is good as well: http://www.troubleshooters.com/linux/dns.htm Virtual Hosting on Apache: http://www.apacheweek.com/features/vhost |
|
|
|
|
|
#4 |
|
Member (8 bit)
Join Date: Jan 2000
Posts: 142
|
I REALLY appreciate your replys and links! I am having another bit of a problem now though. I am trying to serve a page with CGI in it and the CGI part just does not work!!! I have searched around on the web and found a few things and included them into my httpd.conf file and still no luck. I would really appreciate some help in this area! The error I get is:
"Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -------------------------------------------------------------------------------- Apache/1.3.19 Server at 207.254.220.37 Port 80" Plus I have some macs on the network and I can let them see one directory on the Samba server by editing the AppleVolumes.default but I would like to know how I can let them see two and more directories!Thank YOU for All the help! I sincerely appreciate it! Let me know if you need more info from my end! Thanks much! Leo. |
|
|
|
|
|
#5 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Look in your server logs and you should get a more detailed explanation. Apache uses modules and for CGI, there are quite a few that have to be loaded or compiled into Apache. You might also check the specific script requirements to see what it requires.
|
|
|
|
|
|
#6 |
|
Member (8 bit)
Join Date: Jan 2000
Posts: 142
|
Now I am just puzled! I found some CGI script that was installed with the distribution and just made a link to it in the html that I was serving and it came up no problem! I double checked the CGI I was serving that would not work and all the files in that CGI-BIN directory have a *.pl extension!?! Does this mean that they are perl script and not cgi?? Do I have to do something extra to enable perl script??! Thanks for all the advice once again! Leo.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|