473,395 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

URL Rewriting Help

Is there any way to rewrite urls in php without using xampp server? I
rewrite when working on xampp, but I am trying to do this in another
way without using htaccess file. For example through database. Is it
possible? Thanks!
-----------------------------------------------
Madam Samina.....ap nay mujhay aik martaba kaha tha "mein tumhein
pasand karti hoon" kia waqi ap mujhay pasand karti hein? ap nay mujhay
phirr medipak kay samnay apnay say bat kioon nahi karnay di? kia ap ab
bhi mujhay pasand karti hein? plz mujhay apna answer bata dein....
Jun 2 '08 #1
2 1202
striawe schreef:
Is there any way to rewrite urls in php without using xampp server? I
rewrite when working on xampp, but I am trying to do this in another
way without using htaccess file. For example through database. Is it
possible? Thanks!
Hi,

As far as I know URL rewriting is an Apache thing, not directly xamp.
(Of course the a in xamp is Apache. Duh.)

You need mod_rewrite:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

As far as PHP is concerned, a script is called via apache, URL-rewritten
or not.

Good luck.

Regards,
Erwin Moller
Jun 2 '08 #2
On May 28, 9:55 am, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spam yourself.comwrote:
striawe schreef:
Is there any way to rewrite urls in php without using xampp server? I
rewrite when working on xampp, but I am trying to do this in another
way without using htaccess file. For example through database. Is it
possible? Thanks!

Hi,

As far as I know URL rewriting is an Apache thing, not directly xamp.
(Of course the a in xamp is Apache. Duh.)

You need mod_rewrite:http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

As far as PHP is concerned, a script is called via apache, URL-rewritten
or not.
Most reverse proxies support this too - but it'd be overkill to
install one *just* to rewrite URLs. I think you need to re-exmine or
restate your reasons for not doing tis with Apache.
For example through database.
.....suggests you're not really understanding how HTTP architecture
works - that's not to say that some potential solutions involve using
a database.

C.
Jun 2 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jon Maz | last post by:
Hi All, I am experimenting with URL Rewriting using the techniques outlined by Scott Mitchell in his article "URL Rewriting in ASP.NET"...
3
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement...
2
by: StaZ | last post by:
Hello, I would simply like to know if there's a way to disable the "feature" of MS Access that rewrites your queries "correctly"... This feature makes this : ...WHERE SomeBooleanField...;...
3
by: Michael Appelmans | last post by:
I'm trying to use a rule based URL rewrite application which uses HttpApplication.RewritePath. I keep getting "rsource not found" error in application when running on shared web host although the...
0
by: Lee | last post by:
Hi all ;) Preamble -------- I'm using URL rewriting to enforce a frames policy (yeah, I know frames are 'bad' :) - i.e. if a request comes in for a page which should be nested within a...
3
by: Smokey Grindel | last post by:
I am using ASP.NET 2.0 and know about the static list in the web.config for URL rewriting, but my list is dynamic and I am running into some problems... 1) How do you get URL rewriting to work in...
3
by: Greg Collins [Microsoft MVP] | last post by:
I have done a bit of research of Url Rewriting, but as yet have been unsuccessful at getting it to work well, and there are issues around what file types are supported and how much code you want to...
8
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi guys I'm having trouble with URL rewriting using HttpApplication.Context.RewritePath in a web application I've created. Everything works, but the links (css, images) in the pages break when...
0
by: Hamayun Khan | last post by:
Hi I m developing site for my client using asp.net 2.0. He asked me for URL rewriting. which I have done using Intelligencia.UrlRewriter.RewriterHttpModule rewriting module. I write the...
1
Shinobi
by: Shinobi | last post by:
I am using ASP.net(c#) for my project. In my my project 2 pages are using URL rewriting method by referring this article URL Rewriting using Intelligencia UrlRewriter Example 1 - Blog Day...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.