after setting up the task scheduler on godaddy server (windows)
Path to an executable file * C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php-cgi.exe
and Arguments to G:\PleskVhosts\subdomain.domain.com\auto_reminder.php
I got this email
Status: 404 Not Found
Content-type: text/html
No input file specified.
anyone knows how to setup properly?thanks
check which path of the auto reminder.php file is correct. It works for me with WHMCS on On Plesk Windows.
This is the content of received email
Related
On my PC (Windows 10) I wrote a new website (VB windows forms, .aspx files).
If I run the site from inside Visual Studio 2019, all OK, it starts and run correctly.
Now I need to have this site always "ON", I installed IIS, configured a "new website", name, directory and so on. I configured the new website in IIS to the directory where I develop, not in wwwroot.
Nothing works: I always have a 404 error.
To simplyfy everything I wrote a simple .HTML file, "prova.html", I placed it in the real website directory, and I tested it with Firefox: http://127.0.0.1/test.html.
Still 404:
URL requested http://127.0.0.1:80/prova.html
Physical path C:\inetpub\wwwroot\prova.html
It seems that IIS ALWAYS searches the file in the wrong path, but I configured the correct directory where the file is.
Of course if I place my test file in "inetpub\wwwroot ..." IIS finds and opens the file.
Any suggestion?
You can refer to the following steps to deploy the project in IIS:
Right click on your project and select publish:
Then add the site in IIS:
Solved ... installing IIS I didn't install the .NET part ... I feel very stupid.
I have hosted a web API which written in laravel on the IIS server. There is one "versionUpgrate" API where the app asks the server to send the link to an apk file to download if there is any version is out.
"
But when I execute the below URL in the browser, I am getting "404 - File or directory not found". I am expecting the file should get downloaded here.
https://xxxx.xxxx/apk/beta_4_22_2.apk
Don't know what is blocking it here?
--------------EDIT --------------------
I believe laravel is not blocking it because this apk folder exists in the public folder. So URL is accessible.
You can try to add the type to IIS MIME Types.
Open IIS Manager
Selection "MIME Type" feature
Add...
type Extension ".apk" and MIME type "application/vnd.android.package-archive"
OK
I installed IIS on my computer, but when I try to load localhost on google chrome it's says
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070003
Config Error Cannot read configuration file
Config File \?\C:\inetpub\wwwroot\web.config
Requested URL http://localhost:80/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
I also don't have wwwroot in my inetpub folder and I think that's why the error above appears. I created then my wwwroot folder in the ineptpub folder, but I have a new error: HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
What can I do in this situation?
I am running IIS on Windows Server 2012 R2. I follow the follow steps to enable 'failed request tracing' in IIS:
http://blogs.msdn.com/b/kishorerajendran/archive/2015/05/08/iis-failed-request-tracing.aspx
I get a fr000001.xml file in my 'DataDir\Logs\IIS_FailureTrac directory, but there is no freb.xsl file. I tried go to IE and do http://localhost, that does not help.
How can I get the freb.xsl file?
On Windows Server 2008 R2, I completely deleted the W3SVC1 folder in C:\inetpub\logs\FailedReqLogFiles\ .Then I requested again the page with my error. The folder W3SVC1 was recreated, and this time it contained my failed request .xml as well as freb.xsl. (if that doesn't work, you could be lucky, try from a dos prompt, from c:\, dir freb.xsl /s. I've got multiple copies of it for iis, iisexpress, multiple web sites, etc... it's in My Documents\IISExpress\TraceLogFiles for example)
I deleted the IIS Express folder by mistake, now WebMatrix doesn't work.
The only solution I found online is to open cmd.exe and redirect IIS to another folder to force automated creation:
C:\Program Files (x86)\IIS Express>iisexpress /userhome:C:\MyDocs\IISExpress
where C:\MyDocs is the new root location for your Documents folder.
When I try to use cmd.exe as suggested I get this response "The filename, Directory name, or volume label syntax is incorrect".
How can I fix this?