vfclists
vfclists

Reputation: 20221

Which rewrite rules are required for this cgit instance (on shared hosting)?

I have cgit installed on shared hosting and although the home page comes up, every url comes up with file not found until I add cgit.cgi to the front of the path.

e.g www.domain.com/path will error unless typed in the browser as www.domain.com/cgit.cgi/path, yet all the links in the returned page are in the form www.domain.com/path.

Is there some rewrite rule for .htaccess that can cause the webserver to treat every instance of www.domain.con/path as www.domain.com/cgit.cgi/path? Drupal's Clean URLs come to mind.

Upvotes: 0

Views: 332

Answers (1)

suvankar
suvankar

Reputation: 1558

try this

RewriteRule path cgit.cgi/path

Upvotes: 0

Related Questions