Hi I have my php code up and running on a server. When I enter the below url in the browser i get the content .
<ip_address_vm>/service.php
I have purchased a domain name from goDaddy and linked the domain to the ip address of the vm. But now,when i enter the below url in the browser
domain_name/service.php
I get ->
403 Forbidden
Request forbidden by administrative rules.
I dont have the administrator rights to the vm, but i can access this vm. Can someone help me with this issue.
Thanks
Related
I am creating a website and my client doing audit of website for security purpose. The error is 403 access forbidden error. When i try to use below url then error shows:
http://localhost/cis_s3/welcome.php::
I am trying to do by htaccess. But it didn't access the htaccess. How to remove 404 access forbidden error when user try to access "::" at the end of URL. Currently i am using xampp on localhost. Please help us.
remove the :: on the browser just type localhost/cis_s3/welcome.php in the url
I have an eCommerce WordPress site using woo commerce. Now my hosting company "Heart Internet" provide free SSL certs however the map a subdomain to my domain to achieve this.
Real domain http://mywebsite.com/
SSL Version https://web110.secure-secure.co.uk/mywebsite.com/
So this means if I want to use SSL for my checkout page I need to link to this url. https://web110.secure-secure.co.uk/mywebsite.com/checkout
However doing so provides me with the error:
Forbidden
You don't have permission to access /index.php on this server.
Apache/2.4.23 (Unix) Server at web115.secure-secure.co.uk Port 80
So I would imagine this is something to do with .htaccess but I am not sure.
If I go to this url: https://web110.secure-secure.co.uk/mywebsite.com
It actually does display the home page, however minus any images or css styles and my console is full of failed to load resources error messages.
AFter contacting my hosting company they have said its due to how the site itself is configured. But this is just a simple wordpress website, nothing fancy going on.
Does any one know what I can do?
Image of heart internet ssl
To clarify my question is not about css/images not showing up on homepage, its about the fact i cannot reach any other page on my website without getting the error - You don't have permission to access /index.php on this server.
I don't use the same certificat, but with mine
(Free let's encrypt), i have the same url for whole website. I use woocommerce and checked the appopriate option in the woocommerce setting (use ssl for check out).
Does your provider told you to put your files in this folder ?
If so, all your install might be inside and a redirect done to the main domaine name. You maybe need to change files and folder permissions to use it, with your mostly like ftp browser.
I am trying to integrate facebook login for my test website. I am hosting my website on my local machine at http:///127.0.0.1:8000. My redirect url is http://127.0.0.1:8000/home. But when I try to login from my facebook account (from the same machine) it throws:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
and "Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."
Under the Basic settings App Domains contain 127.0.0.1:8000 and Site URL is http://127.0.0.1:8000/ ( I have also tried without the trailing '/'). Under Advanced Settings Server IP whitelist has 127.0.0.1 and Valid Oauth redirect URIs ishttp://127.0.0.1:8000/home. And under Client OAuth Settings everything is set to Yes. I have no idea what I am doing wrong. Is it because I am hosting my website on my local host ? Thanks in advance.
You should create a 'Test app' on facebook. you should have a look at this related answer.
https://stackoverflow.com/a/33131470/2405066
I am trying to send secure windows push notifications from my php server with valid ssl certificate and I got this error:
403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
I uploaded certificate to dev.windowsphone.com and HttpNotificationChannel where serviceName is my Common Name from certificate. I got https uri from HttpNotificationChannel but when I call it from server I got error. Does anyone know what the problem is?
When I call unsecure request from server everything is ok.
You will need to allow access in the directory in Apache. Assuming you have super user access to the server, and I don't know how your server is set up, but you will need to set your directory like this:
<Directory "C:/Your/Directory/With/No/Trailing/Slash">
Allow from all
Require all granted
</Directory>
I have configured dotProject Project management tool with wamp server. But now I am getting 403 Access forbidden while i try to access it using ip address (http://ipaddress/). But if i use http://localhost/ i get access to it. What is the problem?
I have made changes in httpd:conf as Allow all instead of deny all.
thanks for the help
Sneha