Tags:
create new tag
view all tags

SID-01811: apache httpd.conf and twiki.conf issue

Status: Answered Answered TWiki version: 6.0.0 Perl version: 5.10
Category: CategoryInstallation Server OS: RedHat Linux Last update: 10 years ago

<verbatim>

httpd.conf looks like this:

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased CGI directory exists, if you have that configured.

<Directory "/var/www/cgi-bin">

AllowOverride None

Options ExecCGI

SetHandler cgi-script Order allow,deny Allow from all

</Directory>

I installed twiki in /var/www/twiki (this is my twiki root directory)

my /etc/httpd/conf.d/twiki.conf looks like this

ScriptAlias /bin "/var/www/twiki/bin"

Alias /pub "/var/www/twiki/pub"

<Directory "/var/www/twiki/bin">
AllowOverride None
Require all granted
Deny from env=blockAccess

Options ExecCGI FollowSymLinks
SetHandler cgi-script

# Password file for TWiki users
AuthUserFile /var/www/twiki/data/.htpasswd
AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith)'
AuthType Basic

# File to return on access control error (e.g. wrong password)
ErrorDocument 401 /bin/register

</Directory>

What url to use to execute my /var/www/twiki/configure script ??

</verbatim>

-- Kumar Ranjan - 2013-10-24

Discussion and Answer


ScriptAlias /bin "/var/www/twiki/bin" indicates that you should use http://your.example.com/bin/configure.

I don't recommend using apache login, better to use the template login. If you use apache login make sure to exclude the configure script from = require valid-user=.

Use the ApacheConfigGenerator to generate twiki.conf for apache.

-- Peter Thoeny - 2013-10-24

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title apache httpd.conf and twiki.conf issue
SupportCategory CategoryInstallation
TWiki version 6.0.0
Server OS RedHat Linux
Web server Apache
Perl version 5.10
Browser & version Any
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.