• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Cgi-bin.exe Cant Write On Disk

V

vincentd

Guest
Hello all,

I've just started working with plesk 7.5.6 software and find out a problem i cant handle direct. Maybe some of U ppl can help me to trigger this problem:

Ive written an CGI-BIN . EXE with with divers options. The CGI uses a XML database where it stores all the data, also the setup and cookie information.

When i acces the CGI and wanna know some of the data, it gives all the information i want, no problems so far.

If i wanna Update the data, still not a problem. When i Post the update on the server, the server seems to write the document virtual or just dont gives an error.

Some of the writing on disk code:


procedure Tusers.SaveNewUser;
var
xmlRoot, XmlSection, xmlgebruiker :ixmlnode;
node,subnode :Ixmlnode;
XML :Txmldocument;
i:integer;
begin
getcontentdata;

if controlreg then
if FileExists (XMLfile) then
begin

//here it starts the write code.....

finally
try
xml.SaveToFile(xmlfile);
except
on e: Exception do
responsestring := Format ('<font color="red" size="1"> Error Saving file to %s <p>' + e.Message,[xmlfile] )
end;

responsestring := Format ('Welkom bij van Reuvers Bouw & ontwikkeling. <p>'+
' <font color="red" size="1"> The file should be saved on %s <br> </font>',[xmlfile]);

xml.Active :=false;
end;
freeandnil (xml);
end

end;


If the CGI-BIN.exe has problems with writing the code, it should give the error on screen.

I think the CGI-BIN hasnt got the right authorization on disk, but i cant change it in plesk software:

Virtual directory
Name cgi-bin
Path /cgi-bin
Script source access No
Read permission Yes
Write permission No
Directory browsing No
Log visits Yes


Application settingsCreate application No
Execute permissions Scripts and Executables
Enable parent paths No
Enable to run in MTA No

DocumentsEnable default content page Yes
Default documents search order at_domains_index.html, Index.html, Index.htm, Index.cfm, Index.shtml, Index.shtm, Index.stm, Index.php, Index.php3, Index.asp, Index.aspx, Default.htm, Default.asp, Default.aspx

Directory securityEnable anonymous access Yes
Require SSL No




Ill hope som of u can help me with this problem, or some off u have solved some kind of problem....


Thanks so far

vincentd
 
Back
Top