Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,153,362 members, 7,819,310 topics. Date: Monday, 06 May 2024 at 02:11 PM |
Nairaland Forum / Science/Technology / Webmasters / Can Somebody Help Me With Apache Extension Handler. (1133 Views)
Mtn unlimited Free Browsing And Downloading With Psiphon Handler / Etisalat Tweak For Android Opera Handler. Pls / Joomla Error: Ssl-error-rx-record-too-long-and-apache-ssl (2) (3) (4)
Can Somebody Help Me With Apache Extension Handler. by charliebiz(m): 3:45pm On Apr 11, 2008 |
can somebody out there help me with my apache handler extension. Hw do i use or change my extension from abc.html to abc when somebody types it on the web browser.instead of typing www.canyouhelp.com/advice.html for it to www.canyouhelp.com/advice alone on the web browser. |
Re: Can Somebody Help Me With Apache Extension Handler. by kazey(m): 4:55pm On Apr 11, 2008 |
This can be done using mod-rewrite. RewriteEngine On RewriteRule ^advice$ /advice.html [L] |
Re: Can Somebody Help Me With Apache Extension Handler. by uspry1(f): 5:05pm On Apr 11, 2008 |
For example, you would create new HTML directory folder named "engine" and upload abc.html (should be index.html or default.html) on that "engine" folder by accessing on your web hosting control panel or FTP software. (SEE PICTURE BELOW) You would type the following URL that appears ALONE like this "www.yourdomainname.com/engine" You also can rename the HTML directory folder "engine" to "advice" the same folder. |
Re: Can Somebody Help Me With Apache Extension Handler. by charliebiz(m): 2:31pm On Apr 18, 2008 |
@ uspry1 thank guy but i already know about that. @ kazey Sorry guy i did nt get you. What i meant is a file( excluding the default or index page) under a folder to be type directly in the browser without the extension eg, .html. www.canyouhelp.com/contactus instead of typing www.canyouhelp.com/contactus.html i simply explanation on how to use apache to handle it. |
Re: Can Somebody Help Me With Apache Extension Handler. by uspry1(f): 2:54pm On Apr 18, 2008 |
You still not get it what I gave you explanation above that will display without adding the extension, by ADD A FOLDER placing (index.html) inside. GOOD LUCK! |
Re: Can Somebody Help Me With Apache Extension Handler. by charliebiz(m): 4:14pm On Apr 21, 2008 |
@ kazey kazey: Where do i get the mod-rewrite quote and how do i go about it. @ uspry1 what about the oda files in the folder. how do i make them extensionless. |
Re: Can Somebody Help Me With Apache Extension Handler. by kazey(m): 6:53pm On Apr 21, 2008 |
Create a .htaccess file and simply add the code i stated before, it should be in the root of the public folder, and a thank you would do. |
Re: Can Somebody Help Me With Apache Extension Handler. by charliebiz(m): 9:48pm On May 11, 2008 |
charliebiz: Thank you kazey, i have gotten it. Do you know about PHP. I am looking for a teacher to put me through some codes. i know the php codes, atleast to some extent but i think i am jumboing it somewhere when i am uploading my file. Do i upload it directly on my public html folder? Please, i need a helping mind and head. Below is a code i tried to upload to my website but it was blank. <?php session_start(); // store session data $_SESSION['unique id']=12; ?><html> <body><?php //retrieve session data echo "This is your unique identity". $_SESSION['unique id']; ?></body> </html> |
Re: Can Somebody Help Me With Apache Extension Handler. by uspry1(f): 1:13pm On May 12, 2008 |
Go see existing thread to learn how to configure apache handler to employ .htaccess file at below link provided: https://www.nairaland.com/nigeria/topic-110588.0.html#msg1927118 |
(1) (Reply)
Urgent Assistance Needed With Joomla - Newbie, Willing To Pay / Css Question Here. / Nigerian Bulk Email List
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 19 |