[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Front Page and New Sites



Scott <scott@xxxxxxxxxx> writes:

> Someone (Jens?) said they added the following to their srm.conf file and it

Yep, that's me :-)

> allowed them to see another site on their server. This would be useful for
> publishing via Front Page when using name based hosting and the domain is
> not yet transfered.

Yes, that's what I use it for basically. Customers can see their
homepage, before their domainregistration goes through.

> RewriteRule ^/domain/([^/]+)/?(.*)$     /home/sites/$1/web/$2
> http://www.myserver.com/domain/www.new_site.com/

> Trouble is, it doesn't work. I get the following:

Hmm, it works for me (RaQ2).

> Forbidden
> You do not have permission to access
> the requested file on this server.
> Thoughts?

Anything special about the site you're viewing? (i.e. how are
permission set on the files, who is the owner, etc.)

Did you remember to put the RewriteRule _after_ the "RewriteEngine On"
line in the file?


-- 
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'