Multiple URL paths

Alles, was den Apache betrifft, kann hier besprochen werden.

Multiple URL paths

Postby devilindisguise » 04. May 2021 21:21

Hello all

Please forgive what must be quite basic. I have a setup an Ubuntu 18.04 server I am doing some testing with. I've installed Apache2.What I need is to create a structure to have multiple URL paths. For example:

http://1.2.3.4/path1/path2/path3/path4

The reason is I have a reverse proxy sitting in front that I want to test URL rewrite on.

Just need a quick and dirty way to this.

Thanks for your help & guidance.
devilindisguise
 
Posts: 2
Joined: 04. May 2021 21:16
XAMPP version: 1
Operating System: Ubuntu

Re: Multiple URL paths

Postby Nobbie » 05. May 2021 09:43

Simply create the structure in the DocumentRoot of Apache, for example /var/www/path1/path2/path3 etc. and store your documents there. Keep in mind to grant appropriate access rights to the files and folders for Apache process.

Actually i would not call this "multiple URL", its an URL and thats it.
Nobbie
 
Posts: 12067
Joined: 09. March 2008 13:04

Re: Multiple URL paths

Postby devilindisguise » 05. May 2021 13:58

Thank you for the advice Nobbie. Will give this a bash a bit later.
devilindisguise
 
Posts: 2
Joined: 04. May 2021 21:16
XAMPP version: 1
Operating System: Ubuntu


Return to Apache

Who is online

Users browsing this forum: No registered users and 16 guests