First, I know squat about coding anything, so sorry in forward for stupid questions.
I am "developing" a multiforum site, I have found out that I need to make a .htaccess file to make what I want to do, so I have search and read around and wroted one, but I dont think I have done it right.
What I want it to do is f.ex. instead of having a url and making forums in
www.stickyforums.com/somethingforum/
I want it to be...
somethingforum.stickyforums.com
I have wroted following .htaccess, what do I need to add and remove to get what I want?
---------.htaccess start-----------
<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 404 /index.php?do=unknown_page
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options ExecCGI
---------.htaccess end----------
Thank you very much for helping.
I am "developing" a multiforum site, I have found out that I need to make a .htaccess file to make what I want to do, so I have search and read around and wroted one, but I dont think I have done it right.
What I want it to do is f.ex. instead of having a url and making forums in
www.stickyforums.com/somethingforum/
I want it to be...
somethingforum.stickyforums.com
I have wroted following .htaccess, what do I need to add and remove to get what I want?
---------.htaccess start-----------
<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 404 /index.php?do=unknown_page
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options ExecCGI
---------.htaccess end----------
Thank you very much for helping.






