I need mod_rewrite advice
Bütçe $30-100 USD
hi,
I need advice in setting up pointed domains mod_rewrite rules.
Here is a situation:
I have a hosting with powweb.
I have about 20 domains I want to host here.
They provide "Unlimited domains hosting", however I must write domain pointing rules myself. Example:
in main /htdocs directory I host the main website, lets say [url removed, login to view]
in this directory, as described in powweb kowledgebase, users must create .htaccess in irder to point addon domains su some directory.
Example:
RewriteCond %{HTTP_HOST} [url removed, login to view]
RewriteCond %{REQUEST_URI} !dirfordomain2/
RewriteRule ^(.*)$ dirfordomain2/$1 [L]
I have setup abpit 6-7 domains this way, and it works, however, I now have a problem.
[url removed, login to view], uses its own mod_rewrite rules.
(example
RewriteRule ^detailed-(.*)-(.*).html [url removed, login to view]$2 ) I have places .htaccess in dirfordomain2 directory, but it is not working.
and this rule now is not working. I now get "page not found" errors. I need make it work. Maybe to append those rules in main .htaccess?
I do not know.
I WILL NOT GIVE ftp login, because this login is for ALL domains :)
I am not mod_rewrite pro, so I need help.
I will pay ONLY if you give me a working solution. Also I will pay via GAF only.
For those who does not have any ratings yet, you can earn a good review easily.
Thanks.
If you have questions, please ask.
BR
For the selected programmer, after I receive a solution, as a provement of working or not working condition, I will give coupld of domains url to test.
If I append the rules in main .htaccess, they seems to be working, but other domains then points incorrectly :(