Posted By: tidus on June 18, 2014, 7:17 am | Post: 1 |
Hi,
There are chances that previously created domains may not be proper configure. So keep only the domains which are necessary and make sure all are working. Try removing all domains, then add them again. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: W4CO on March 9, 2020, 2:23 pm | Post: 2 |
We tried adding domain thru Addon Domain Panel. It reports error 'Error' with loading icon process until we do not refresh page.
It creates the vhost files and addon to the www root, but fails to rewrite on windows system host file Created domain manually it added, when we checked with AMPPS Manage Domain Panel and Windows Host File entry. But does not load project properly to the url of installed project. when it is installed on location path E;/AMPPS/www/subdomain.domian.com/project/index.php https://subdomain.domain.com/project We need to use https://localhost/zesoft.com/qdpm/index.php/users. Get to rid this param localhost prefix. host file entry 127.0.0.1 localhost ::1 localhost ::* 127.0.0.1 domain.com # created manually after failure of rewrite on host file 127.0.0.1 subdomain.domain.com # created manually after failure of rewrite on host file E:/AMPPS/apache/config/extra/httpd-vhosts.conf The current status of C:/windows/System32/drivers/etc/.htaccess # Rewrite host file # <IfModule mod_rewrite.c> # RewriteEngine On # RewriteCond %{HTTP_HOST} ^www$ # RewriteRule (.*) https://localhost/$1 [R=301,L] # RewriteBase / # RewriteRule ^index\.php$ - [L] # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule . /index.php [L] # </IfModule> RewriteEngine on RewriteCond %{HTTP_HOST} ^agestab\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.agestab\.com$ RewriteRule ^/?$ "https\:\/\/age\.agestab\.com\/" [R=301,L] RewriteRule (.*) https://localhost/$1 [R=301,L] RewriteBase / RewriteRule ^index\.php$ - [L] |