my website running on xampp is having issues with my config when i visit http://api.site.com/v1 it will display stuff but take note it is displaying stuff what is meant to be for my clientsettings.api if i visit http://clientsettings.api.site.com it will display my main site when it is meant to display what api is displaying yes my htdocs folder is all correct and have files in the correct place it is my vhost this is my config can someone please help me sorry if i didnt explain this well my english is not the best
<VirtualHost _default_:80>
DocumentRoot "D:/xampp/htdocs/gametest2/gametest2.site.com"
ServerName gametest2.site.com
ServerAdmin admin@site.com
ErrorLog "D:/xampp/apache/logs/error.log"
TransferLog "D:/xampp/apache/logs/access.log"
<Directory "D:/xampp/htdocs/gametest2/gametest2.site.com">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "D:/xampp/apache/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
<VirtualHost _default_:80>
DocumentRoot "D:/xampp/htdocs/gametest2/api.gametest2.site.com"
ServerName gametest2.site.com
ServerAdmin admin@site.com
ErrorLog "D:/xampp/apache/logs/error.log"
TransferLog "D:/xampp/apache/logs/access.log"
<Directory "D:/xampp/htdocs/gametest2/api.gametest2.site.com">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "D:/xampp/apache/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
<VirtualHost _default_:80>
DocumentRoot "D:/xampp/htdocs/gametest2/clientsettings.api.gametest2.site.com"
ServerName api.gametest2.site.com
ServerAdmin admin@site.com
ErrorLog "D:/xampp/apache/logs/error.log"
TransferLog "D:/xampp/apache/logs/access.log"
<Directory "D:/xampp/htdocs/gametest2/clientsettings.api.gametest2.site.com">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "D:/xampp/apache/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
I REPLACED MY SITE NAME WITH site.com for the snippet it is my sites name in the actual config
Aucun commentaire:
Enregistrer un commentaire