-Edward-
12-20-2000, 09:52 AM
Hi - how can i put files behind port 81?.
I've also been trying to setup the script for adding mass users to the raq3 but no luck always get an internal server error. Any ideas?.
shellx
12-26-2000, 09:31 PM
Cobalt runs a seperate copy of Apache on Port 81 for the administration purposes only (why would you want to use port 81 anyhow?). You could try modifying the config file for the administrative webserver, yet I would proceed with caution before you do so. I really don't see any benefits in placing files on port 81 however.
Did you give the script executable privilages? Also, the script, to add users, will somehow need to run as root, so you will need a cgi wrapper of some kind (are you using PERL or PHP?); the RaQ comes with a PERL cgi wrapper for customers to use.
webfors
12-29-2000, 12:22 PM
Just make sure you're httpd.conf entry for the virtual host specifies the port. For example:
<VirtualHost 216.145.62.34:81>
ServerAdmin webmaster@john.com
DocumentRoot /home/john/public_html
ServerName http://www.john.com
ErrorLog /home/john/error_log
ScriptAlias /cgi-bin/ /home/john/public_html/cgi-bin/
</VirtualHost>
And also make sure you list the port as a port for Apache to listen on. You should have the following entry in Apache:
Listen 80
Listen 81
Listen 443
[Edited by tabernack on 12-29-2000 at 03:00 PM]