I just thought of this and was wondering if it is possible. So similar to how you can relatively reference a parent folder using ../. Is there a way to access a parent directory if a domain name is associated with a sub-folder. For instance, on my server, I have a certain web site on 192.168.1.23/Site. I have an associated shorter url connected to it. For instance site.co.nr. Is there a way to get to 192.168.1.23 (or there associated ethernet IP) home directory using relative addresses using site.co.nr? Maybe like ../site.co.nr? Or something like that? Sorry if this is stupid, I am just curious. Thanks!
PhilEaton
0
Newbie Poster
Recommended Answers
Jump to PostMy answer and based on my experience, i would say no. Using relative paths, the highest you'll get is to the root of the web application (even if that root is a sub-directory of some other directory in the file system). Think about a web server that hosts multiple web …
All 3 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
PhilEaton
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.