Log in

No account? Create an account
April 10th, 2006 - LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

April 10th, 2006

different ljconfig.pl for apache-ssl [Apr. 10th, 2006|10:31 pm]
LiveJournal Development

I apologize if this is the wrong place for this post, but this is what I need to do.

External access to our company's intranet is through https and through redirection. basically, from the internet, the user types in


which the IIS server changes to

https://blog/blog (don't ask me why they have this setup) .. grabs the content and displays it to the outside user.

so now, I am in a quandary.

I want normal users (in the intranet) to be able to access http://blog and the users accessing from the extranet to be able to access https://blog/blog

so what's the best way to do this?

Here is what I have done so far.

a) created a subdirectory (/home/lj/blog) and symlinked (/home/lj to /home/lj/blog) except ljconfig.pl
b) pointed /etc/apache-ssl/httpd.conf
i) the document root to be /home/lj/blog
ii) PERLSETEV LJHOME /home/lj/blog
c) changed /home/lj/blog/ljconfig.pl so that the $SITE variable is https://blog/blog

basically what i want is that /home/lj be served by apache-perl and /home/lj/blog be served by apache-ssl

when i try all this, unfortunately, I get the following error in /var/log/apache-ssl/error.log

cannot find /home/lj/blog/htdocs/blog

i must be making a stupid mistake.. but am i wrong in thinking the above will work?

is there a better/easier way to do this? basically have 2 ljconfig.pl and make apache-perl read one and apache-ssl read the other?
link1 comment|post comment

[ viewing | April 10th, 2006 ]
[ go | Previous Day|Next Day ]