RE: [otrs] Installation docs: Step 8 - How to go from/yourhost/opt/otrs to /yourhost/otrs?

How do I get from '/opt/otrs' in step 7 (and prior) to the Database step (step 8) whereby the '/opt' part of the path is omitted as in 'http://yourhost/otrs/installer.pl' for version 1.3.2-01?
Set "DocumentRoot" in your "VirtualHost" stting to "/opt/otrs/var/httpd/htdocs" and add " Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" Alias /tickets/ "/opt/otrs/bin/cgi-bin/" " thats how we do it ;)
I have 'installer.pl' installed in '/opt/otrs/bin/cgi-bin/'. Did I misinterpret a step? Should I move the bin/cgi-bin files into my web account's cgi-bin so I can execute 'installer.pl'? I cannot run it where it is without changing file permissions and using the path, 'http://yourhost/opt/otrs/bin/cgi-bin/installer.pl'.
This sounds like a seriously misconfigured web-server! You should never be able to access a direct root path throw the web-server this is a serious security breach and could lead to a hacked system.
I'm installing with the following setup via tarball (RPM installation is not an option with current webhost): Linux Red Hat Enterprise 3; Apache 1.3.33; MySQL 4.0.22-standard; Perl 5.8.0.
Sounds about right.. I'd probably upgrade apache and mysql for security reasons but otherwise I see no problem with that. Altho I run under FreeBSD myself the setup should be about the same. Regards, Patrik F

Thanks, Patrik for your reply.
You wrote:
~~~~~~~~~~
Set "DocumentRoot" in your "VirtualHost" stting to
"/opt/otrs/var/httpd/htdocs" and add
"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
Alias /tickets/ "/opt/otrs/bin/cgi-bin/"
~~~~~~~~~~
I assume, since I am using a webhost and don't have access to the httpd
server files, to use '.htaccess' instead.
Also, I don't have a static IP for my domain (although I could get, if
necessary). What is the syntax for the .htaccess in my case?
By the way, when I ran 'SetPermissions.sh', because my current webhost
account does not grant 'chown' privs, nearly all of these directives (except
for a couple) reported, "Operation not permitted".
Thanks in advance to you and other future contribs.
============================================
----Original Message Follows----
From: "Patrik Forsberg"
How do I get from '/opt/otrs' in step 7 (and prior) to the Database step (step 8) whereby the '/opt' part of the path is omitted as in 'http://yourhost/otrs/installer.pl' for version 1.3.2-01?
Set "DocumentRoot" in your "VirtualHost" stting to "/opt/otrs/var/httpd/htdocs" and add " Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" Alias /tickets/ "/opt/otrs/bin/cgi-bin/" " thats how we do it ;)
I have 'installer.pl' installed in '/opt/otrs/bin/cgi-bin/'. Did I misinterpret a step? Should I move the bin/cgi-bin files into my web account's cgi-bin so I can execute 'installer.pl'? I cannot run it where it is without changing file permissions and using the path, 'http://yourhost/opt/otrs/bin/cgi-bin/installer.pl'.
This sounds like a seriously misconfigured web-server! You should never be able to access a direct root path throw the web-server this is a serious security breach and could lead to a hacked system.
I'm installing with the following setup via tarball (RPM installation is not an option with current webhost): Linux Red Hat Enterprise 3; Apache 1.3.33; MySQL 4.0.22-standard; Perl 5.8.0.
Sounds about right.. I'd probably upgrade apache and mysql for security reasons but otherwise I see no problem with that. Altho I run under FreeBSD myself the setup should be about the same. Regards, Patrik F _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
participants (2)
-
Patrik Forsberg
-
s taylor