Feature request: PDO SQLite
Posted by: librarian (---.lightspeed.dllstx.sbcglobal.net)
Date: June 21, 2009 06:56PM

Edited: Nevermind about the SQLite. I had another php.ini in my Windows path. Sorry about that.

Hi:

I distribute a personal software, which uses SQLite database as backend, and was looking for various packages that can install Apache and PHP on Windows. You guys are doing a great job.

I tried to use the Alias and noticed that it adds a trailing slash /alias/. Server than requires this slash in order to load the alias directory. Can you please change this feature, so that it creates /alias?

Thanks a bunch.



Edited 1 time(s). Last edit at 06/21/2009 07:04PM by librarian.

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: yfastud (Moderator)
Date: June 21, 2009 07:03PM

did you try to enable that extension through wamp tray icon?

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: librarian (---.lightspeed.dllstx.sbcglobal.net)
Date: June 21, 2009 07:05PM

Sorry, I had another php.ini active. But can you comment on the alias? Thanks.

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: yfastud (Moderator)
Date: June 21, 2009 07:13PM


Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: librarian (---.lightspeed.dllstx.sbcglobal.net)
Date: June 21, 2009 07:19PM

When I created a new Alias, I typed "example" as my new Alias. Then I opened this alias as "localhost/example" and it would not load. Then I noticed that Wamp created Alias "/example/", so in order to open this location I need to go to "localhost/example/" with the trailing slash. Can you change this feature, so that no trailing slash is added to the alias?

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 21, 2009 07:33PM

thats not the case... may be your browser...

/alias and /alias/ all work then there is an index.php file in the folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: librarian (---.lightspeed.dllstx.sbcglobal.net)
Date: June 21, 2009 07:40PM

From Apache documentation: "Note that if you include a trailing / on the url-path then the server will require a trailing / in order to expand the alias."

[httpd.apache.org]

Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: yfastud (Moderator)
Date: June 21, 2009 08:21PM


Options: ReplyQuote
Re: Feature request: PDO SQLite
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 21, 2009 08:26PM

opps sorry your right.. but i did test adding the / in the alias file and broswer still opens it with out the / in the url


maybe u can test it for me too.


as for changing it open

c:/wamp/scripts/addalias.php

find

if ($newAliasDest[strlen($newAliasDest)-1] != '/')
$newAliasDest .= '/';


and delete it


or

$newConfFileContents = 'Alias /'.$newAliasDir.'/ "'.$newAliasDest.'"


and change it to

$newConfFileContents = 'Alias /'.$newAliasDir.' "'.$newAliasDest.'"

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 06/21/2009 08:29PM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.