notix
11-3-02, 02:23 AM
I am trying to configure my .htaccess to have a subdomain point to a file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} code.notix.net
RewriteCond %{REQUEST_URI} !view_code.php
RewriteRule ^(.*)$ view_code.php$1 [L]
It work's, but the contents in the <iframes> are not working so well. Click Here (http://code.notix.net) to see what I am talking about. I think that is trying to look for the files under: http://code.notix.net/nav.php. Is there anyway to have a subdomain point to a URL (Like www.notix.net/view_code.php)? That would be so much easier.
Thank You.
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} code.notix.net
RewriteCond %{REQUEST_URI} !view_code.php
RewriteRule ^(.*)$ view_code.php$1 [L]
It work's, but the contents in the <iframes> are not working so well. Click Here (http://code.notix.net) to see what I am talking about. I think that is trying to look for the files under: http://code.notix.net/nav.php. Is there anyway to have a subdomain point to a URL (Like www.notix.net/view_code.php)? That would be so much easier.
Thank You.