If you think this is a server error, please contact the webmaster. There is either no index document or the directory is read-protected. How To Change XAMPP Apache Root Directory htdocs Kirankumar Gonti 553 subscribers 9.1K views 3 years ago Hey, Guys In This we learn How we can change the Apache Root Directory htdocs to. These include the Apache folder for the server configuration, if for example during the XAMPP setup Apache server cannot started due to port 80 being used. You don't have permission to access the requested directory. If you’re getting error 403 Forbidden like these: Access forbidden! If you found some error while doing it, just leave a comment here, maybe I can help you out. Open your web browser and test it by go to Hope it helps.In Windows, normally we’re using “Backslash” or \, but here we must use “Forward Slash” or / Options Indexes FollowSymLinks Includes ExecCGI Add these lines on the bottom of the nf file:.Open the nf file, it’s located in this directory:.So, I decided to add an alias or virtual directory in my Apache web server. I know that the most easiest way is to copy and paste all of them into htdocs directory. Supposed you have installed Xampp on some directories, like: C:\Program Files\xampp\Īnd the default document root would be in: C:\Program Files\xampp\htdocsīut, my source code are all outside that htdocs directory, example: D:\sources Why do you need an alias or virtual directory? If you’re using Linux, you just need to adjust the path. Do you want to create some alias or you can call it virtual directory on Apache Xampp? I’m using Windows Xampp as an example here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |