[Xitami] PHP/Alias Issues

Gunnar Swan xitami@lists.xitami.org
Mon, 02 Dec 2002 14:58:55 -0800


You might need to spell it out...
>c:\progra~1\xitami\webpages\Ilohamail\sour ...

I had to play with quotes and using two \\


12/2/02 2:53:57 PM, "James Emmrich" <jemmrich@lwp.ca> wrote:

>Hi Michael,
>
>Yeah, a few of us have incountered this problem and to which there is no fix
>at the moment (from what I have seen). It's really unfortunate, since
>aliases are a really powerful feature when you want to expand a website or
>provide shortcuts.
>
>I posted on the board about this last month and I also emailed support about
>the problem, so far I haven't heard anything to fix this.
>
>Sorry for the bad news, but perhaps someone here has an idea that might just
>do the trick.
>James
>
>----- Original Message -----
>From: "Michael Morris" <Michael@animate.com>
>To: <xitami@lists.xitami.org>
>Sent: Monday, December 02, 2002 5:27 PM
>Subject: [Xitami] PHP/Alias Issues
>
>
>> I have a question that I hope you all can solve...
>>
>> Running Xitami 2.4d9 on NT4, PHP 4.0.3 and a webmail app which runs
>currently under webpages\IlohaMail\source.
>>
>> Here's the problem:
>>
>> If I add an alias of "Webmail" to
ce" I get a blank page with no
>header, etc.  Just a blank page.  Not even a 404, no errors logged in
>logfile.  Contents of the blank page are:
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <HTML><HEAD>
>> <META http-equiv=Content-Type content="text/html;
>charset=windows-1252"></HEAD>
>> <BODY></BODY></HTML>
>>
>> Also, the same thing happens when I set the alias to the
>C:\Ilohamail\source and have a copy of it there instead.
>>
>> If I type in the "index.php" I get the text contents of the PHP file
>(treating it as text).  If I add an Index.html to the folder, it pops up.
>Unfortunately index.php is what I need.  When I reference the directory as
>http://servername/IlohaMail/source I get my perfectly functioning webmail
>program (when it is a subset of the webpages folder).  However, the way this
>thing works is there are some config folders I don't want people monkeying
>around with located under IlohaMail, not just the "source" folder.
>>
>> I have the proper alias setup, I also have the MIME type setup.
>>
>> I installed the XiFusion wrapper (2.6) and the same, nothing.  My direct
>link still works, but my "webmail" link does not (which currently references
>the c:/progra~1/xitami/webpages/IlohaMail/source folder).
>>
>> Basically the Alias only seems to work with HTML files, or there is some
>issue with the PHP, which works for everything else.  I have tried basic PHP
>files and they all provide the same result.  As if they weren't being called
>at all.
>>
>> Anybody had experience with this?
>>
>> I am fairly new to PHP so this might be an issue.  But I followed every
>suggestion on PHP.NET and it does work, just not with Aliases - which leads
>me to be suspicious...
>>
>> Thanks in advance,
>>
>> Michael Morris
>>
>>
>>
>> --
>> Xitami Users Mailing List -- For Xitami support
>> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>>
>>
>
>
>--
>Xitami Users Mailing List -- For Xitami support
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>


------------------------------------
Gunnar Swan
Practice To Pass
www.PracticeToPass.Com
Built For Statutory Courses
------------------------------------