473,396 Members | 1,760 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,396 software developers and data experts.

Resolving an Address

TheServant
1,168 Expert 1GB
Hey Guys,
If you knew me, you would have expected this, but I am wanting to organise my files into a more efficient system. I want to have my root directory to just contain my index file (which will redirect) and all the folders that my other files are in. So I will have a main folder, and then I will have a members folder.

Right now everything is in the root, so I have:
www.mydomain.com/myfile.php

But if I do this new system I will have:
www.mydomain.com/main/myfile.php

I seem to recall there being a way to resolve addresses using the htaccess file, where you can change the display from www.mydomain.com/main/ to just www.mydomain.com/

Is that right? If so, what is the htaccess line?
Apr 1 '08 #1
1 1732
ak1dnar
1,584 Expert 1GB
Moving from Php Forum to Apache Forum.

Please Read URL rewriting here
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Apr 1 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: michael potter | last post by:
I would like to code a prototype that returns an enum, but not declare the enum. This works on several systems and compilers, but fails on aix xlc. Here is the sample code: enum anEnum...
1
by: Uzi Baruch | last post by:
Hi! i want to know if i have an ip address of a computer and its DNS server name, if their is an windows API that can resolve the computer name of the given ip address. or vice verca -...
1
by: SLIDE6 | last post by:
I want to write a function to retrieve the current IP address of a computer. All the examples I've seen rely on taking the first address from a list. But I'm in something of a predicament -- that...
5
by: Chris | last post by:
What is going on here... I have my site running locally on my machine, and when I don't have an internet connection (like when Im on the train) I get this error when I try to open an asp.net...
1
by: Stephen | last post by:
Hi all, is there a way that I can create an application that can "Resolve" any given address in the URL to be redirected to a default website. I guess that It can be done by "Resolving DNS...
1
by: Ghislain Tanguay | last post by:
Hi everyone, this is the code I use now for resolving domain address with email. But I use an external program "nslookup" to verify my addresses. Is there an intrinsic object in dotnet who do...
3
by: andrew | last post by:
I have a web application that uses a web.config file to set the url for a web service on another machine... when I run the app with an alias for the machine name I get: ...
0
by: Adam D. Barratt | last post by:
Hi, I've been searching Google for ideas as to how to use Mapi (in this case an Outlook client connecting to Exchange Server) from VB.NET to resolve e-mail addresses for contacts for which...
2
by: John Kotuby | last post by:
Hi all, I have been working on transferring my development environments to a new Vista ultimate machine (from XP) and am running into difficulties. After patching both SQL Server 2005 and VS 2005,...
3
by: shawie60 | last post by:
Hi guys, I have a bit of a problem. I've set up my network ( 3 desktops 1 x wireless laptop) using a TK IP router. Most use fixed IP addresses. Each machine can access the internet. 1 of the machnes...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.