r6 - 09 Jul 2007 - 21:20:04 - PeterThoenyYou are here: TWiki >  Support Web > CannotRunConfigure
Tags:
, create new tag

Question

I'm trying to get Twiki installed initially. I can get to "Welcome to TWiki" page, but when I try to access /twiki/bin/configure, I get

"Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. "

I have ownership and group access set to wwwrun:www, and I have permissions set to 755.

Any help would be appreciated.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE Linux 10.2
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS: MS Windows XP Pro service pack 2
Web Browser: Firefox 2.0.0.1
Categories: Installation, Permissions, Authorisation
-- TimJacob - 09 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Hi, Tim, if you check your htaccess file there is some code about who can access the configure file. Did you try that? If not, you can change that to match your needs.

-- JimOBrien1 - 09 Jul 2007

I did install and edit bin/.htaccess, but it didn't seem to make any difference. After playing around a bunch, I erased the entire installation and started over. At the moment there is no .htaccess file at all.

I can access the "Welcome to TWiki" page, but have never been able to get configure working, so I haven't been able to even see any other part.

If I attempt to run /twiki/bin/view I get an error page that says that "the server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: view"

If I attempt to run /twiki/bin/logon or /twiki/bin/manage, I get an error page that says there was a "perl error reading LocalSite.cfg". This is understandable since it hasn't been created yet.

-- TimJacob - 09 Jul 2007

Please have a look at your web server's error log file. Maybe the mapping from "URL-space" /twiki/bin/configure to "filesystem-space" is different from what you expect. Normally, Apache's error log tells you which file or directory it could not access. The web server needs rx access on files and the directory containing them.

-- HaraldJoerg - 09 Jul 2007

Found my problem! I had entered something incorrectly in the ApacheConfigGenerator.

Thanks

-- TimJacob - 09 Jul 2007

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 < r5 < r4 < r3 < r2 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo