I wish to redirect from my server to a machine on my internal network.
Is this possible?
I am using Apache on Raspberry running Raspbian Jessie.
It is possible if your server is connected to your internal network as well (although this might be a security issue).
Or if your server will send whatever petition you make to your internal network using a proxy or something similar.
I have tried:-
[code]
Redirect to OurStatus page
Redirecting to OurStatus web page. If you're not redirected within a couple of seconds, click here:
Our Status
I just tried going to http://IP address
and got
This site can’t be reached
Are you sure that the server is online?
Might it be better to set up a DNS site name to use instead of the IP ?
IP address is the intranet machine I am attempting to connect to from domain.za.net
as in http://domain.za.net/ourstatus
and in the folder ourstatus is an index.html coded as I pointed out above.
Hmmm. Well the DNS looks to be correct
This site can’t be reached
IP address took too long to respond.
If you know the sever is running, maybe there’s a firewall in the way?
No there is not.
Ah, the good news is the server is online.
The bad news is you should add
Options -Indexes
to the htaccess file
and take down the info() page
like now YESTERDAY
You did not browse to http:/domain/ourstatus/
You browsed to http://domain
which is not what I want to do.
I’ve temporarily unlisted this, as there seem to be some security concerns here.
Information is exposed that I wouldn’t want to expose unless it was fake and for a honeypot.
The indexes allows access to some July 2014 work. maybe not a big deal.
But the info() displays configuration information that could be used if it contains known vulnerabilities that could be exploited.
(I looked, and AFAICT there are some weak areas. Not outright dangerous, but potential “pry” points)
OK - I’ve removed all identifying information from the topic and relisted it.
None of which actually answers the original question.
Can this be done or not?
I don’t see why not.
I’ve tried to think of possible reasons for why the server could be reached, but not a file or folder.
- Spelling / case differences
- Permission settings
It would be fairly easy to check if a folder or file was world readable.
It seems if that was the problem I would have gotten a Forbidden. but maybe not.
Other than that the only other thing I can think of doing would be to check the server error logs. Not one of my favorite things to do as I usually have trouble interpreting them, but as a last resort they often get me pointed in the right direction anyway,
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.