Quote From : tidus January 19, 2014, 8:14 am Hi,
We don't recommend as we have not tested it. But you can always change the configuration as per your need if you know what you are doing.
Steps :
1. Open AMPPS Application -> Apache Tab -> Configuration
2. Search for DocumentRoot, you should find two entries.
3. Change them as per your need and Save the file.
4. Open apache/conf/extra/vhosts-httpd.conf
5. Look for the entry <VirtualHost 127.0.0.1:80>, if its present, copy the whole VirtualHost Tag
6. Create a new file say my-vhosts.conf in the same directory and paste the copied text there.
7. Open AMPPS Application -> Apache Tab -> Configuration
8. Find the line Include conf/extra/httpd-vhosts.conf, copy the same line and paste it below.
9. Modify it so t looks like Include conf/extra/my-vhosts.conf. Save the file.
10. Restart the apache.
Note: 5,6,7,8,9 steps are needed only if VirtualHost entry is present in Include conf/extra/httpd-vhosts.conf.
I want to customize the vhost file, but doing so to the AMPPS-generated one will not succeed. That's the reason for the above steps 4-10, right?
I want to add an alias to redirect a certain path. That's it.
|