[opencms-dev] new project question

Alexander Langer al at al-arenal.de
Fri Jun 20 01:35:02 CEST 2003


After getting mod_jk2 to work, got this in my httpd.conf in the
virtual host section:

RewriteEngine on
RewriteRule /(.*) /opencms/opencms/$1 [PT]
Alias / /opt/tomcat/webapps
JkMount /* testWorker

and had to change

url_prefix_http=/${WEB_APP_NAME}/opencms

into

url_prefix_http=

in the opencms.properties file. My aim was to get direct access to the
opencms root directory when accessing www.domainname.tld and it works
perfectly.

> that will work thank you

> ----- Original Message -----
> From: "Steve Goyette" <stevegg at telus.net>
> To: <opencms-dev at opencms.org>
> Sent: Thursday, June 19, 2003 12:24 PM
> Subject: RE: [opencms-dev] new project question


>> Hi,
>>
>> I don't know whether or not you're using Apache but if you are you can
>> use URL re-writing to do this.
>>
>> Just place this in the virtual host entry for your domain in the apache
>> httpd.conf file (possibly the vhost/Vhost.conf file)
>>
>> RewriteEngine on
>> RewriteRule /(.*) /opencms/opencms/mymodule/$1 [PT]
>>
>> Hope that helps,
>>
>> Steve
>>
>>
>> -----Original Message-----
>> From: opencms-dev-admin at opencms.org
>> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Bryan LaPlante
>> Sent: Thursday, June 19, 2003 3:21 AM
>> To: opencms-dev at opencms.org
>> Subject: [opencms-dev] new project question
>>
>> After reading most all of the documentation I just need to confirm that
>> I am
>> thinking in the right direction.
>>
>> To create a new web site I will essentially be creating a module is that
>> right. In that module I will create a master template in the form of an
>> index.html page under the templates directory of my new module and then
>> create my site design templates under a folder called jsptemplates.
>>
>> If I am right about the above I will be creating a new project based on
>> the
>> directory structure created above. I started to create a project
>> declaring a
>> folder that did not exist in any module and got an error, so that leads
>> me
>> to believe that the above mentioned is true.
>>
>> I have not been able to find info in the docs or demos as to how I can
>> run
>> my new web site while hiding the fact that I am using opencms, in other
>> words I want to run http://www.mydomain.com/ and have that open
>> http://www.mydomain.com/opencms/opencms/mymodule/index.html is this
>> possible?
>>
>> Thanks for everyone's help in the past and as I get more experience with
>> opencms I hope I can be of assistance to others.
>>
>> Bryan LaPlante
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>

> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev



al

-- 
Alexander Langer
homepage: http://www.al-arenal.de
mailto: langer at al-arenal.de





More information about the opencms-dev mailing list