Go Back   HostGator Peer Support Forums > HostGator Announcements > General Announcements

Notices

Reply
 
Thread Tools
  #1  
Old 04-12-2007, 05:41 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Htaccess Generator

I have been working on a little Cpanel addon, which will allow clients to modify their htaccess file without opening up the htaccess and adding entries manually. So far it’s fully functional for the following features…

---
PHP Version Selection (PHP4/5)
Directory Index (On/Off)
Mod_Security (On/Off)
Default Directory Index file (Drop down menu with file selection)
---

I am currently having some of our staff members test out the script for bugs, but it seems to be perfect so far.

Features that will be incorporated upon the launch of this script are Extended Server Info, Internal Server Error Check, FrontPage Extension tests, Webroot Security checking, and Important News feed which will contain updates.

If anyone has ideas for the htaccess section, please let me know!
Reply With Quote
  #2  
Old 04-12-2007, 06:24 PM
jojoyohan jojoyohan is offline
Junior Croc
 
Join Date: Feb 2007
Posts: 127
Default Re: Htaccess Generator

How about being directly able to edit it in the page?
Reply With Quote
  #3  
Old 04-12-2007, 06:27 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: Htaccess Generator

This sounds great. What about mod_rewrite, or does that get too complex?
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #4  
Old 04-12-2007, 06:31 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Quote:
Originally Posted by slapshotw View Post
This sounds great. What about mod_rewrite, or does that get too complex?

I might be able to add in something simple for mod_rewrite, maybe something such as, redirect URL A to URL B. Or Simple SEO style links.
Reply With Quote
  #5  
Old 04-12-2007, 06:39 PM
riostyles riostyles is offline
Royal Croc
 
Join Date: Jan 2006
Location: Rio de Janeiro, Brazil
Posts: 765
Default Re: Htaccess Generator

Possibly the htaccess tool can be duplicated also as a php.ini tool. (phpsueexec)
Reply With Quote
  #6  
Old 04-12-2007, 06:49 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Quote:
Originally Posted by riostyles View Post
Possibly the htaccess tool can be duplicated also as a php.ini tool. (phpsueexec)
Hmm,
That sounds like a pretty good ideas as well. I could probably setup some kind of symlink script for the php.ini file.
Reply With Quote
  #7  
Old 04-12-2007, 07:05 PM
Hostalot Hostalot is offline
Baby Croc
 
Join Date: Mar 2007
Posts: 92
Default Re: Htaccess Generator

Yeah a php.ini tool would be really handy as well!
__________________
A review directory of cheap web hosting providers
Read my Hostgator review before you sign up
Listings of the cheapest web hosting providers
Reply With Quote
  #8  
Old 04-12-2007, 07:15 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

I'll probably code in that php.ini function either tomorrow or on the weekend. Once it's finished it may look a little bit different. All I care about at the moment is the backend at this time.

I have included some screenshots of what may be included in the finished product.
[/FONT]
Attached Images
File Type: jpg htaccess.JPG (52.0 KB, 117 views)
File Type: jpg news.JPG (46.6 KB, 61 views)
File Type: jpg serverinfo.JPG (62.8 KB, 62 views)
Reply With Quote
  #9  
Old 04-12-2007, 08:26 PM
eLIANT eLIANT is offline
King Croc
 
Join Date: Apr 2005
Posts: 1,058
Default Re: Htaccess Generator

Proprietary services! Now that's a good business move.

Otherwise, HG is just competing on gigs and uptime, which are commodities (i.e. low margin.)

Many cron and manually-initiated scripts have been posted in this forum. Perhaps HG could build a library of unsupported "Tools" from these?
__________________

eLIANT Technology Services
(site feedback welcome)
Reply With Quote
  #10  
Old 04-18-2007, 05:56 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

I just started adding in the php.ini symlink function. It looks like it won't be that hard to implement, the hardest part so far was just making the directory recursion in PHP4, it would have been easier in PHP5.

The 500 Internal Server Error feature is completed with the following features...
- User Process Checking
- Checks webroot for files that are writable by other users.
- Checks for Invalid htaccess flags that would cause an Internal Server Error.

The FrontPage Check script is finished as well. The script is setup so you do not need to enter any Login information to check FrontPage. It will default to your main domain to prevent any attacks to other domains.

The htaccess feature has been completed for about a week now, and has been well tested.

I think we might end up releasing the script with only 3 or 4 of the features for now, and have some kind of Client feedback link setup to see how all of you like the addon. The reason why I don't want to release all of the features at once, is we still need to finish testing some scripts to make sure they function correctly and are secure.
Reply With Quote
  #11  
Old 04-18-2007, 06:28 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Here are a couple of screenshots of the newer features...


500 Internal Server Error Check / Frontpage Test.
Attached Images
File Type: jpg 500error.JPG (67.7 KB, 44 views)
File Type: jpg serverinfo.JPG (62.8 KB, 31 views)
Reply With Quote
  #12  
Old 04-18-2007, 11:15 AM
phatchopolis phatchopolis is offline
Junior Croc
 
Join Date: May 2006
Posts: 101
Default Re: Htaccess Generator

Looks sweet. The php.ini will be a lifesaver for those of us with PHPSuExec.
Reply With Quote
  #13  
Old 04-18-2007, 03:31 PM
Hostalot Hostalot is offline
Baby Croc
 
Join Date: Mar 2007
Posts: 92
Default Re: Htaccess Generator

Very handy to have a tool like that!
__________________
A review directory of cheap web hosting providers
Read my Hostgator review before you sign up
Listings of the cheapest web hosting providers
Reply With Quote
  #14  
Old 04-18-2007, 11:05 PM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

I'm almost done with the php.ini symlink script. I am currently adding some extra security and safety precautions, such as maximum directory depth and directory location restrictions.
Reply With Quote
  #15  
Old 04-19-2007, 03:33 AM
ufopsi.com's Avatar
ufopsi.com ufopsi.com is offline
Swamp Croc
 
Join Date: Nov 2006
Location: Ticino, Switzerland
Posts: 304
Default Re: Htaccess Generator

Looks very useful. Well, let me say it: I like when HG takes the chance to inform customers. It's honest.
__________________
Michele Bugliaro Goggia, designer SUP
UFOs and the paranormal ::
Cool UFO T-shirts



Reply With Quote
  #16  
Old 04-19-2007, 04:42 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Ok the php.ini symbolic link script is finished, and secured!

Here is a screenshot of what they will look like. If anyone would like to test the Extra features script, please reply back with the server you are on, and I'll install it. You must have a Shared account, I will need to make a modified version for reseller accounts.


php.ini Symbolic Link Interface.
Attached Images
File Type: jpg phpsymlink.JPG (94.3 KB, 46 views)
Reply With Quote
  #17  
Old 04-21-2007, 06:15 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

HG extras is a set of cool tools which helps you with functions that were previously not managed from CPanel. HG Extras version 0.2 has been released on gator92 to gator200. We are hoping to see some feedback from everyone. Hg extras is only supported on X skins currently.
Reply With Quote
  #18  
Old 04-21-2007, 10:53 AM
ufopsi.com's Avatar
ufopsi.com ufopsi.com is offline
Swamp Croc
 
Join Date: Nov 2006
Location: Ticino, Switzerland
Posts: 304
Default Re: Htaccess Generator

Quote:
Originally Posted by GatorDaveC View Post
HG extras is a set of cool tools which helps you with functions that were previously not managed from CPanel. HG Extras version 0.2 has been released on gator92 to gator200. We are hoping to see some feedback from everyone. Hg extras is only supported on X skins currently.
I gave it a look. Very nice. I even found out the billing link I had no idea it existed.
__________________
Michele Bugliaro Goggia, designer SUP
UFOs and the paranormal ::
Cool UFO T-shirts



Reply With Quote
  #19  
Old 04-24-2007, 05:26 AM
B16Enk's Avatar
B16Enk B16Enk is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 24
Default Re: Htaccess Generator

Just had a look at this on Gator182 (I have 2 swamp packages there) Very nice

This could have saved me some grief on Gator75 yesterday, although it isn't yet running PHPSuexec I wanted the protection of it so have now switched to PHP5.
And so far no troubles (well after getting tech support to sort out ownership and permissions for me).

Any chance this could also go on Gator242 please?
Reply With Quote
  #20  
Old 04-24-2007, 09:52 PM
owlhawk owlhawk is offline
Hatchling Croc
 
Join Date: Dec 2006
Posts: 3
Default Re: Htaccess Generator

I ran the symlink script and in the cpanel file manager all of the links it created say

File Type: broken symbolic link to `/home/davec/public_html/php.ini'

Looks like it isn't putting the account name in the path. Great tools otherwise!
Reply With Quote
  #21  
Old 04-26-2007, 03:38 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Quote:
Originally Posted by owlhawk View Post
I ran the symlink script and in the cpanel file manager all of the links it created say

File Type: broken symbolic link to `/home/davec/public_html/php.ini'

Looks like it isn't putting the account name in the path. Great tools otherwise!
Thanks for pointing that out, I still had the debug settings on that file.

I just installed HG Extras on all of the PHPSuEXEC Shared servers, which are gator92 to gator260.
Reply With Quote
  #22  
Old 04-26-2007, 10:50 PM
daabomb2002 daabomb2002 is offline
Junior Croc
 
Join Date: Mar 2007
Posts: 136
Default Re: Htaccess Generator

what does this tool actually do? If i click on Auto htaccess config,can I choose what PHP version i want? So if i clicked on PHP5.x, and clicked OK,will hostgator install PHP5 on my server for free?
Reply With Quote
  #23  
Old 04-26-2007, 11:02 PM
riostyles riostyles is offline
Royal Croc
 
Join Date: Jan 2006
Location: Rio de Janeiro, Brazil
Posts: 765
Default Re: Htaccess Generator

Quote:
Originally Posted by GatorDaveC View Post
Hmm,
That sounds like a pretty good ideas as well. I could probably setup some kind of symlink script for the php.ini file.
Thank you, I'm gratified.
An other one: Empty all the trashes in the emails like SA does with spam boxes.
Reply With Quote
  #24  
Old 04-27-2007, 02:09 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 929
Default Re: Htaccess Generator

Quote:
Originally Posted by daabomb2002 View Post
what does this tool actually do? If i click on Auto htaccess config,can I choose what PHP version i want? So if i clicked on PHP5.x, and clicked OK,will hostgator install PHP5 on my server for free?
We provide both PHP4 and PHP5 on all of our Shared and Reseller servers. There isn't an extra charge.
Reply With Quote
  #25  
Old 04-27-2007, 12:52 PM
k4li's Avatar
k4li k4li is offline
Hatchling Croc
 
Join Date: Apr 2007
Location: Spain
Posts: 7
Default Re: Htaccess Generator

Hello,

in Internal Server Error check, what about the process warning?
It's posible to kill process?
How much process can I run at time?

thanks
__________________
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 03:11 AM.