mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
Use ScriptAlias in Apache config
This commit is contained in:
parent
f8c9f31e9f
commit
d97e0e007b
6 changed files with 12 additions and 9 deletions
|
|
@ -28,7 +28,7 @@ target="_top">LinkChecker</a>)
|
|||
</center>
|
||||
|
||||
<blockquote>
|
||||
<form method="POST" action="/cgi-bin/lc.cgi" target="links"
|
||||
<form method="POST" action="/lconline/lc.cgi" target="links"
|
||||
|
||||
onsubmit="return(isValid(document.checklinkForm))"
|
||||
name="checklinkForm">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ target="_top">LinkChecker</a>)
|
|||
</center>
|
||||
|
||||
<blockquote>
|
||||
<form method="POST" action="/cgi-bin/lc.cgi" target="links"
|
||||
<form method="POST" action="/lconline/lc.cgi" target="links"
|
||||
onsubmit="return(isValid(document.checklinkForm))"
|
||||
name="checklinkForm">
|
||||
<table border="0" cellpadding="2" cellspacing="0" summary="">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
ScriptAlias /lconline/lc.cgi /usr/lib/cgi-bin/lc.cgi
|
||||
Alias /lconline/ /usr/share/linkchecker/lconline/
|
||||
# allow people to read the files
|
||||
<Directory "/usr/share/linkchecker/lconline/">
|
||||
|
|
@ -7,12 +8,13 @@ Alias /lconline/ /usr/share/linkchecker/lconline/
|
|||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Location "/cgi-bin/lc.cgi">
|
||||
<Location "/lconline/lc.cgi">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.0/255.0.0.0
|
||||
# Before uncommenting the following lines please put IP address
|
||||
# of your computer in the Allow line
|
||||
# Deny from all
|
||||
# Allow from 127.0.0.0/255.0.0.0 REPLACE-WITH.YOUR-HOST.IP-ADDRESS
|
||||
# Allow from REPLACE-WITH.YOUR-HOST.IP-ADDRESS
|
||||
# IPv6 addresses work only with apache2
|
||||
# Allow from ::1/128
|
||||
Allow from ::1/128
|
||||
</Location>
|
||||
3
debian/README.Debian
vendored
3
debian/README.Debian
vendored
|
|
@ -1,7 +1,6 @@
|
|||
Web Interface
|
||||
==============
|
||||
The web interface can be configured with
|
||||
- adding your host IP in the /etc/apache2/conf.d/linkchecker and
|
||||
uncommenting the deny/allow lines for the CGI script
|
||||
- adding your host IP in the /etc/apache2/conf.d/linkchecker
|
||||
- executing "sudo a2enmod negotiation"
|
||||
- accessing http://localhost/lconline/index.html
|
||||
|
|
|
|||
2
debian/changelog
vendored
2
debian/changelog
vendored
|
|
@ -3,6 +3,8 @@ linkchecker (5.1-1) unstable; urgency=low
|
|||
* New upstream release.
|
||||
+ Uses correct directory in apache configuration
|
||||
(Closes: #519646)
|
||||
+ Uses ScriptAlias in the Apache config
|
||||
(Closes: #535497)
|
||||
|
||||
-- Bastian Kleineidam <calvin@debian.org> Wed, 18 Feb 2009 16:49:38 +0100
|
||||
|
||||
|
|
|
|||
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -40,4 +40,4 @@ common-install-arch::
|
|||
# install .mo files
|
||||
install -m 644 build/share/locale/de/LC_MESSAGES/LinkChecker.mo $(LOCALE)/de/LC_MESSAGES/
|
||||
# apache configuration
|
||||
install -m 644 config/linkchecker.apache.conf $(ETC)/apache2/conf.d/linkchecker
|
||||
install -m 644 config/linkchecker.apache2.conf $(ETC)/apache2/conf.d/linkchecker
|
||||
|
|
|
|||
Loading…
Reference in a new issue