Mobile app version of vmapp.org
Login or Join
Sims2060225

: Htaccess rewrite - Associating subfolders of web root as index of domain I've been trying to find specific information on the problem, but it all seems rather confusing or irrelevant. I have

@Sims2060225

Posted in: #Htaccess #UrlRewriting

I've been trying to find specific information on the problem, but it all seems rather confusing or irrelevant.

I have an Apache install with several subfolders with different websites. I need requests for foo.com to redirect to .../htdocs/foo.

I'm trying to avoid the web address appearing in the browser as foo.com/foo, instead appearing as foo.com.

Is this possible?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims2060225

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

This is done in the httpd.conf file not with .htaccess, here are some examples: httpd.apache.org/docs/2.2/vhosts/examples.html

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme