Ultimately, I'd like to always reference it as dirname.myapp.com, but am accessing it the other way until I can get this issue figured out.
The subdomain is set up as a virtualhost in httpd.conf. Here's the entry:
- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@myapp.com
DocumentRoot /var/www/html/myapp
Options All +ExecCGI FollowSymLinks
DirectoryIndex index.cgi index.php index.html index.hml index.phtml index.shtml
ServerName dirname.myapp.com
ErrorLog logs/dirname.myapp.com-error_log
CustomLog logs/dirname.myapp.com-access_log common
</VirtualHost>