Hi,
I am unable to wget a http link from the same server on which apache is configured.
Following is the error message.
Resolving ***** (alliances.)… 52.34.178.189
Connecting to**
(****)|ip|:80… connected.
HTTP request sent, awaiting response… 403 Forbidden
2018-02-26 11:52:32 ERROR 403: Forbidden.
Error LOG :-
AH01276: Cannot serve directory /home/tenders/html/services/viewdata/comtex/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive
To clarify further,
Its an AWS server on which I want to do wget.
The script which i want to wget, downloads and update some entry in db. Also if I run that script from firefox browser , i am able to run the script.I am getting error only when I run it from my AWS server.
Could you please post the full wget command you used? As far as I understood only wget is not working, Firefox works. Does it work on another client with wget?
Is this not due to forced Options directives, that can not be overruled ? Have you tried adding date.php to the DirectoryIndex ? (not too well versed in AWS)
Although i am able to wget all other links on the server. I am facing problem with the links which are located under /home//html/services/viewdata path only.