PDA

View Full Version : Defining a Site in Actinic


welshmike
14-Jun-2007, 03:09 PM
Hello All.

I am trying to host an actinic site on my company's Fedora Core 6 Linux server. However I get an error. When I use the wizard to set up a connection and site, it gets as far as setting the directory locations. (Logs in and ftps fine). When I confirm the directories and click next I get an error stating an error occured while sending a HTTP request to the server.

Similarly if I run the advanced network setup and click test, I receive a response from the web server ERROR 501 : Method not implemented. After I click ok, another pops up stating my server is not configured to accept POSTs to CGI scripts.

I have defined the location of the cgi-bin directory using the ScriptAlias variable.

Are there any other things I should check?

I am using latest versions of Apache and Perl.

Thanks

Mike

los_design
14-Jun-2007, 03:11 PM
Hello All.

I am trying to host an actinic site on my company's Fedora Core 6 Linux server. However I get an error. When I use the wizard to set up a connection and site, it gets as far as setting the directory locations. (Logs in and ftps fine). When I confirm the directories and click next I get an error stating an error occured while sending a HTTP request to the server.

Similarly if I run the advanced network setup and click test, I receive a response from the web server ERROR 501 : Method not implemented. After I click ok, another pops up stating my server is not configured to accept POSTs to CGI scripts.

I have defined the location of the cgi-bin directory using the ScriptAlias variable.

Are there any other things I should check?

I am using latest versions of Apache and Perl.

Thanks

Mike
Hi Mike

Welcome to the forums....

what are your network settings? (*** the UN and PW before posting please)

Regards

los_design
14-Jun-2007, 03:31 PM
What does this mean?

Mike
Sorry Mike

Export your network settings and post them here making sure you replace the username and password with ****

;)

welshmike
14-Jun-2007, 03:35 PM
Here are my network settings!

Thanks


HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST
WEBSITEURL http://www.welshaspie.co.uk/
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl
USEENHANCEFTP true
FTPCLIENTTIMEOUT 15000
FTPRETRYDELAY 3000
FTPSILENT false
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT 25000
SMTPAUTHREQUIRED false
SMTPUSERNAME
SMTPPASSWORD
CATALOGURL http://www.welshaspie.co.uk/acatalog/
CGIBINURL http://www.welshaspie.co.uk/cgi-bin/
PATHFROMCGITOCATALOG ../welshaspie/acatalog/
CODEBASE ./
FTPHOST welshaspie.co.uk
FTPUSERNAME *****
FTPPASSWORD *****
PATHTOCGIBIN cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG ../welshaspie/acatalog/

los_design
14-Jun-2007, 03:39 PM
PATHFROMCGITOCATALOG ../welshaspie/acatalog/
FTPPATHFROMCGITOCATALOG ../welshaspie/acatalog/

Try with the first one of the two as ../acatalog/

and the second on /ROOT_FOLDER_NAME/acatalog

hth

welshmike
14-Jun-2007, 03:44 PM
I take it you mean the document root when you say /ROOT_FOLDER_NAME/ ?

Sorry I am new to all of this even Linux lol.

welshmike
14-Jun-2007, 03:48 PM
The folder structure is as follows

/var/www/html/public_html/welshaspie/acatolog

and the cgi-bin is

/var/www/html/public_html/cgi-bin

I tried what you suggested, unfortunately it returned the same results.

los_design
14-Jun-2007, 03:48 PM
I take it you mean the document root when you say /ROOT_FOLDER_NAME/ ?

Sorry I am new to all of this even Linux lol.
Yup

the folder where all your public viewable folders live...not the domain name.
eg on our servers it is

/documents/
on others I have seen /httpdocs/ or /www/ etc

HTH

welshmike
14-Jun-2007, 03:50 PM
Would it be beneficial if I forwarded my httpd.conf?

welshmike
14-Jun-2007, 03:51 PM
Just clicked this link

CGIBINURL http://www.welshaspie.co.uk/cgi-bin/

says I dont have permission to access, could this be the root to my problems?


Sorry I'm rambling now. lol

los_design
14-Jun-2007, 03:55 PM
Just clicked this link

CGIBINURL http://www.welshaspie.co.uk/cgi-bin/

says I dont have permission to access, could this be the root to my problems?


Sorry I'm rambling now. lol
Nope

cgi-bin is not similar to viewing an image folder for example. It is where your store engine lives (or similar ) and as such they are called via relevant script commands within the web pages

tried to make is as simple as possible...not I have confused myself :cool:

BTW your conf. file is not needed...

welshmike
14-Jun-2007, 03:57 PM
Additionally I have set virtual hosts, would this cause some confusion at all?

welshmike
14-Jun-2007, 04:34 PM
Hi.

Have restructured the folders so the cgi-bin is on the same level as client folders.

gabrielcrowe
14-Jun-2007, 04:41 PM
an error occured while sending a HTTP request to the server

odd error this one. and i had an odd solution when i built a server here. might help you too.

try making an index.html file in the server root.

this error occurs for those people who ahve nothing at all in the html root.

welshmike
14-Jun-2007, 04:44 PM
Thanks for the suggestion unfortunately it didn't work.

welshmike
14-Jun-2007, 04:46 PM
Your web server is not configured to accept POSTs to CGI scripts.

How can I make sure it's configured to accept POSTs?

As I have virtual hosts setup would I need to set a ScriptAlias for each virtual host?

welshmike
14-Jun-2007, 04:53 PM
Ok now, this is weird.

Have uploaded with less errors (in upload process than before) and the site seems to be functioning!!

But when I test the connection, it still says I cant respond to POSTs.

welshmike
14-Jun-2007, 04:55 PM
Oops. Getting POST error on download too.

I'm pretty confident this is somehow a Linux problem.

welshmike
18-Jun-2007, 12:08 PM
Have actinic support looking into this problem currently.

Will post any findings in case it will help future users.

welshmike
19-Jun-2007, 03:46 PM
Hi there,

Does anybody know of an existing checklist of a server setup? Things I should be checking to ensure it will run properly?

Mike (Pulling his hair out)...

wjcampbe
19-Jun-2007, 04:26 PM
There are server setup instructions in the Advanced User Guide...

welshmike
19-Jun-2007, 04:41 PM
Thanks.

The specific requirements for Actinic to run successfully are as follows:
1. A UNIX or Windows NT system running a web server.
2. The web server must support POSTs and GETs to CGI scripts implemented in Perl
3. Perl 5.004 or greater must be installed on the server

What I really need to know, is how to get number 2 working. Check out the site www.welshaspie.co.uk all the mechanics work fine.

Everywhere I look, documents say to make sure POSTs are supported, but I can't find anywhere that says what to do to :-

A : Find out if they are supported/meant to be supported on Fedora Core, or

B : To turn them on, if in fact possible.

I am running Perl v. 5.8.8-10

I probably dont deserve any help for being so thick.

Mike.

welshmike
22-Jun-2007, 04:02 PM
Hi again,

I was wondering if the router settings such as UPnP could be effecting this?

Thanks

Bruce
26-Jun-2007, 07:53 PM
Mike,

If you read page 153 of the Advanced Users Guide you will see examples of how to create the 'cgi-bin perl association' by assigning the appropriate 'GET, HEAD, POST' verbs.

Kind regards,

Darren B
26-Jun-2007, 09:43 PM
Mike,

If you read page 153 of the Advanced Users Guide you will see examples of how to create the 'cgi-bin perl association' by assigning the appropriate 'GET, HEAD, POST' verbs.

Kind regards,

Bruce do not know what AUG you have but page 153 is no good for linux servers?

Bruce
27-Jun-2007, 09:48 AM
Darren,

That specific bit is for IIS servers, but the assigning of values/verbs to the .pl or .cgi script is not very different. This bit is best done by the hosting company unless the person doing it knows what they are doing. I am sure I could get some *nix related info if I googled it but....

Kind regards,

Darren B
27-Jun-2007, 10:23 AM
Darren,

That specific bit is for IIS servers, but the assigning of values/verbs to the .pl or .cgi script is not very different. This bit is best done by the hosting company unless the person doing it knows what they are doing. I am sure I could get some *nix related info if I googled it but....

Kind regards,

I understand but was not sure if you missed it that was all;)

welshmike
29-Jun-2007, 12:58 PM
Hi Guys,

Thanks for the further suggestions, I have solved the problem. And in true forum support fashion I shall tell you how I did it. I am using VSFTP on my linux server, and by default ASCII uploads are disabled. I enabled this and ét voila. Functioning! I hope this helps many others!

Thanks for your support, I shall pop in from time to time.

Mike..

Bruce
29-Jun-2007, 02:02 PM
Thank you Mike, much appreciated.

Kind regards,