Web server config without a contol panel.

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

Web server config without a contol panel.

Postby emyr42 » Wed Nov 01, 2006 1:55 am

I have been given the task of adding sections to a website.

The server is set up to map certain folders such as

/sectionname/

to index.php?section=sectionname

I've modified index.php to handle these new sections, but cannot work out how these virtual folders have been implemented, given that the host's email forwarded to me gives me only FTP, frontpage and phpmyadmin login details: no Control Panel. I would imagine that frontpage might be able to help, but I don't have a copy.

Any ideas?
OpenSUSE 10.2, WinXPHome
AMD Sempron 2400, 512MB DDR333, Twin 60GB Deathstars
User avatar
emyr42
LXF regular
 
Posts: 147
Joined: Tue Nov 22, 2005 9:16 am
Location: Cardiff, UK

RE: Web server config without a contol panel.

Postby M0PHP » Wed Nov 01, 2006 8:48 am

If it's an apache web server, it's probably using mod_rewrite in an .htaccess file. You may need to configure your FTP client to show hidden files if you don't see a .htaccess file at first.
Image Image Image
User avatar
M0PHP
LXF regular
 
Posts: 737
Joined: Wed Apr 06, 2005 7:40 am
Location: Bishop Auckland, County Durham, UK


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests