If you have to more than one url map to the same directory but you don’t have multiple alias directives. What you will do?



If you have to more than one url map to the same directory but you don’t have multiple alias d..

Answer / Juber

In Apache, if you need to map multiple URLs to the same directory without using multiple alias directives, you can use the ProxyPass or ProxyPassMatch directive in combination with the ProxyPreserveHost On option. This allows you to map multiple domains or URL patterns to the same server while preserving the original hostname in the request.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Interview Questions

How secure is apache server?

1 Answers  


In software testing Business requirements or FRD is given,u will have start preparing test cases. In the document only text box is mentioned for a particular option.So do u prepare test cases including special characters,numbers,alphabets,alphanumeric or only for some. Pls help me out.

1 Answers  


Explain the purpose of struct?

1 Answers  


What is mod_security in apache?

1 Answers  


What is a Command to restart/start apache web server?

1 Answers  


What is apache and how does it work?

1 Answers  


What is struct?

1 Answers  


How do you check for the httpd.conf consistency and any errors in it?

8 Answers  


How to run php/ruby with apache?

1 Answers  


How to carry out apache efficiency benchmark?

1 Answers  


If you have only one ip address, but you want to host two web sites on your server. What will you do?

1 Answers  


What language does apache use?

1 Answers  


Categories