[PHP-WIN] dynamic site on windows server
Hi all, My company is considering a move from static to db driven site. I am looking to find a solution to allow URL's to be structured in "search engine friendly" format [i.e. http://website.com/region/article/article_id ] as search engine traffic is very important. I have found some great resources for doing this on apache but nothing for IIS. I would like to use mySQL as the db (majority of selects will be simple selects) Currently our site is on a windows server and with a recent (large) investment in an ASP/MSSQL db project they do not want to move from IIS. I'm not familiar with ASP so I'd rather not go that route. We are a news site with about 6000 articles and 15-20 additions each day. 600,000 monthly page views growing by @ 40,000 per month. Thanks much, olinux __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Configuring securely in IIS5
Eric, I am in the beginning of the same process. I do php, unfortunately our company has just made a large investment in an ASP/MSSQL based directory. I will be building a content management system and moving site from static to database driven (www.insurancejournal.com). I'd love to share tips on how to do this most effectively. I have heard that the most recent build is much more stable as ISAPI module so that's what I'll be trying - another issue I need to sort out is how to keep url's search engine friendly - ie. website.com/news/article_id/123 I will be using the latest php build from this site. I think that this will probablybe much better configured than whatever I would come up with. http://www.php4win.com Later, Josh --- Eric Gentry <[EMAIL PROTECTED]> wrote: > I have looked at the tool already, and it doesn't > reference security for > any issues with php. > > I know what to do to the IIS server to secure it, my > concern is over the > addition of the php module and how it effects the > security of the > system. > > -Original Message- > From: Robin Bolton [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 10:52 AM > To: Eric Gentry; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Configuring securely in IIS5 > > > A good place to start may be the IIS Lockdown Tool: > > http://www.microsoft.com/WINDOWS2000/downloads/recommended/iislockdown/d > efau > lt.asp > > > -Original Message- > From: Eric Gentry > [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 8:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Configuring securely in IIS5 > > > I have been able to install php and get it running > on our test server > running IIS5. Everything is going fine, but now I am > beginning to ponder > the question, how do I secure this when it goes > live? > > I have read through the installation documentation, > and read the > security chapter of the php manual that I downloaded > from the php.net > website. > > Various queries to Google have been unproductive, so > I thought I may > check here. > > Now, I am not talking about script internals > security (that will be > handled more by our development team), just mainly > how to configure php > on the server so that I don't have people tearing > the darn thing down > when this site goes live. We are using the ISAPI > module. > > I have seen numerous tidbits on Apache, but we are > going to be using > IIS. > > Can anyone point me to a book, FAQ, examples, > anything to set me on the > way? > > Thanks a ton > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] PHP and Windows (newbie!!)
open httpd conf witha text editor (you can find it in the apache root folder) find DocumentRoot and change it to whatever you like. (I think that you will need to change this in 2 places.) For my setup I have d:\projects\ as the root web folder. All of my website projects are contained in folders inside "projects" thus localhost/websitename/ retrieves the website project olinux --- Tiago Simões <[EMAIL PROTECTED]> wrote: > Hello everybody! > > I'm just entering the wonderful world of PHP and i > already have a doubt. I > installed the apache server on my Windows ME :-p, to > use for local tests. I > have to acess it manually (meaning i have to click > the apache startup > everytime i want to do something...). Anyway i > proceded to install PHP (on > c:\php\, and everything went ok. I test my first php > file ( a simple echo > command) at the http://localhost directory (or > c:\program files\apache > group\apache\htdocs). It all went ok. So i started > wondering if it detected > a php outside of that path, like in the desktop or > some other folder (since > i'm very keen on having my sites in specif > folders). Unfortunately it > didn't, it just showed the php as a txt file. Is > there anyway to make the > files readable everywhere? > > Thanks in advance, > Tiago Simões > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] RE: stuck between operating systems & web servers ! ! ! !
This may help you - Domain Migration to a Unix Server http://www.webmasterbase.com/article/557 olinux --- "Brinkman, Theodore" <[EMAIL PROTECTED]> wrote: > I'm not an expert, so somebody correct me if I'm > wrong, but... > > Assuming the site is running a recent enough version > of PHP so you aren't > using any features newer than it, the only things > you should have to change > would probably be path related. > > - Theo > > -Original Message- > From: toby z [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 9:28 AM > To: php hlp list > Subject: stuck between operating systems & web > servers ! ! ! ! > > > > ok ... im lost .. > > i've been working on my site i've xp & iis 5 & > php 4.1.2 > now the server that im going to launch my site on is > > unix based .. which i think works with > apache alone ... > > now i guess im stuck . what do i do now .. > convert all my hard work to unix and apache > i believe i will have to change every single line of > code i've coded ... or what > & if i have to is there an easier way about it > ... > > guyz i'll appreciate any word on this . > > thnx a million .. > > __ > Do You Yahoo!? > Yahoo! Health - your guide to health and wellness > http://health.yahoo.com > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Single website Unix + Windows servers
I am working on integrating our current website to apache/redhat/php/mysql Due to a recent investment in an ASP project I must have the windows / SQL server machine running this application. Any suggestions to keeping the site 'seamless' or ideas that will help Thank you, olinux --- Matt Parlane <[EMAIL PROTECTED]> wrote: > Hi Brian... > > I have it set up just like Robert, and I really > think it's the way to go - > having Apache as the web-accessible server gives me > much more peace of mind > than having IIS sitting out there just waiting to be > attacked. > > Do you realize you can have content served by IIS > accessed without using the > :8080 (or whatever) port number? > I'm not sure if you're aware of this but here's the > relevant parts of my > httpd.conf: > > NameVirtualHost * > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_connect_module > modules/mod_proxy_connect.so > LoadModule proxy_http_module > modules/mod_proxy_http.so > > > ServerName zevi.net > ServerAlias zevi.net www.zevi.net > ProxyRequests Off > ProxyPass / http://zevi.net:4040/ > ProxyPassReverse / http://zevi.net:4040/ > > > > ServerName newworkstudio.com > ServerAlias newworkstudio.com www.newworkstudio.com > DocumentRoot "C:/htdocs/newworkstudio.com" > DirectoryIndex index.html > > > So, for each ASP site (or for each site served by > IIS), just add a > VirtualHost entry using the ProxyPass directive to > send it to the IIS > server. The IIS server doesn't have to be on the > same computer by the way - > or even the same network... > > Hope that helps. > > Matt Parlane > Zevi Interactive > [EMAIL PROTECTED] > > "Brian McGarvie" <[EMAIL PROTECTED]> > wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I will probably do this the other way round as we > have a few sites... > > so if i have a single file with a frame and point > contents of frame to > apache this should work? > > > -Original Message- > > From: Collins, Robert [mailto:[EMAIL PROTECTED]] > > Sent: 09 July 2002 4:41 PM > > To: Brian McGarvie; [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Subject: RE: [PHP] Dual Server... > > > > > > I have Apache and IIS coexisting on my intranet > server and > > the way I set > > them up was to put each on a different port. > (Apache serves > > http://intranet > > and IIS serves http://intranet:8080) this appears > to work > > fine. Hope this > > helps > > > > Robert W. Collins II > > Webmaster > > New Orleans Regional Transit Authority > > Phone : (504) 248-3826 > > Fax: (504) 248-3866 > > Email : [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > > > -Original Message- > > From: Brian McGarvie > [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 09, 2002 10:39 AM > > To: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > > Subject: [PHP] Dual Server... > > > > > > OK following from my thread 'Browser Issues' I > have found > > that when serving > > the site from apache, that the aforementioned > errors go > > away... mostly... > > > > OK so... What is the best way to setup so that > IIS/Apache co-exist... > > > > I'd like to keep the 'entry' to the site on IIS as > we have other sites > > too... and use apache to serve the content of it. > > > > Any help mucho appreciated... also working to a > deadline! > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Re: Closest store location by zip code
would you like to post it? I think that there is also a class at www.phpclasses.com olinux --- "R.S. Herhuth" <[EMAIL PROTECTED]> wrote: > > I actually found a free PERL script that uses a zip > code database and > the math to calculate the closest store (by zip > code) to a user entered > address. I have converted it to work under php. So > thanks to all the > idiots who felt it necessary to poke fun at me > instead of trying to help. > > Ron > > Scott Hurring wrote: > > > > Actually, a fine gentleman from Nigera the other > day > > emailed me the encrypted source code to just such > > a script all i had to do was give him my bank > > account information and let him transfer over > > $25 million to me so i could afford some machines > > to crack the encryption. :-) > > > > -- > > Scott Hurring > > Systems Programmer > > EAC Corporation > > scott (*) eac.com > > -- > > "Paul Roberts" <[EMAIL PROTECTED]> wrote in > message > > 007301c226bc$fda2d790$96eb86d9@laptop1">news:007301c226bc$fda2d790$96eb86d9@laptop1... > > No but when you find it please post it here. > > > > - Original Message - > > From: "George Nicolae" <[EMAIL PROTECTED]> > > To: <> > > Sent: Monday, July 08, 2002 9:16 PM > > Subject: [PHP-WIN] Re: Closest store location by > zip code > > > > Does any one know a php script that send to my > account unlimited money? > > > > -- > > > > Best regards, > > George Nicolae > > IT Manager > > ___ > > PaginiWeb.com - Professional Web Design > > www.PaginiWeb.com > > > > "R.S. Herhuth" <[EMAIL PROTECTED]> > wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > Does any one know of a php script to calculate > the closest store to a > > > user entered zip code? > > > > > > Thanks, > > > Ron > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] fulltext search through a pdf doccument .....
www.htdig.org olinux --- toby z <[EMAIL PROTECTED]> wrote: > hi guyz > i no this is the rong mailing list for this but im > pretty desprete ... so plz pardon me > > i ve to search a pdf doccument through fulltext and > there r some images containg text which are to be > included in this search > > i know this is possible since they search through > pdf > doccuments on the net all the time through search > engines and all but > > how can i perform a fulltext search inside my site > which has these pdf doccuments stored in mysql > (4.0.1-alfa) ? > > id b eternally gratefull if anyone cud help me . > > thnx a zillion > > toby > > __ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Subscription Authentication with PHP
This should help you A Complete, Secure User Login System by Tim Perdue http://phpbuilder.com/columns/tim2505.php3 olinux --- Listuser <[EMAIL PROTECTED]> wrote: > I'm hoping someone can help me out here. I have a > registration page where > users sign up for my site - I then want to be able > to send them an email > with a link to click on to verify their > registration. Is there any pre-made > scripts that anyone knows of that would do this, or > can someone point me in > the right direction that would explain how to do > this. One other note as > well. I am using sessions to hold the users > information, I need to be able > to keep this information until the user returns. It > will then be inputted > into a MySQL database. > > Thanks > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://platinum.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php