The logon page is FormLogon.asp found in the SAPPortal  directory of the Default Web Site under IIS 

image

For those familiar with later releases of Enterprise Portal, you need to remember that when EP5 was released, the Web Application Server release of SAP had yet to be released.  This meant that the portal server had to provide its own web server.

Reading: SAP Enterprise Portal 5 – Modify Logon pageTweet This