Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htacess, https -- security stuff

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
US
I have compiled apache with ssl and openssl - all the good stuff. It does encrpted transmission (I guess !!). So if I on my website href all my links to " " then all the tranmissions over the network will be encrypted. But is there a better way than that becuase sometimes you dont alwyas specify the full url as in,
<a href=&quot; <H1>News and Events</H1> </a>
Sometimes you do a relative <a href=&quot;../another.html&quot;>

Also can anyone post a sample, commented, htaccess file plzzz. Related tutorials/ Links/ Info for duds like me are also greatly appreciated.

Thanks a bunch.
 
Hi mate,

1) Don't understand what you are actually asking..

2) Htaccess is a basic text file saved as a .htaccess
It would be pointless posting a htaccess file here as I dont know what directives you actually want.

If it is User Authentication, then you can use a script that I have put up on my site, (in my sig) It is on the left hand side of the page. This will create the files are give you directions on how to use them.

Hope this helps Wullie

sales@freshlookdesign.co.uk

 
if you want to have SSL server as a DEFAULT server, you have to change your httpd.conf file where it is configuring itself in section <virtualhost _default_:*>
there is a section called SSL server, usually @ bottom of file. you have to make SSL server as default just by commenting out default server configuration and replacing &quot;<virtualhost _default_:443>&quot; with a &quot;<virtualhost _default_:*>&quot;.

there will start to appear bad SSL request in your apache logs. make additional line @ error handling section : like this &quot;ErrorDocument 400 which means that if ppl go into your site with a &quot;http:&quot; they will authomatically will be kicked to redhat site :) change it to your site name

i think it might help
br
roberc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top