50Webs Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2018, 01:10:19 AM

Login with username, password and session length
Search:     Advanced search
66272 Posts in 10361 Topics by 6924 Members
Latest Member: jmarsh83
* Home Help Search Login Register
+  50Webs Forum
|-+  50Webs Services
| |-+  Support questions (Paid plans).
| | |-+  .htaccess gets deleted by server
« previous next »
Pages: [1] Go Down Print
Author Topic: .htaccess gets deleted by server  (Read 3721 times)
dupaco
Noobie
*
Posts: 3


View Profile
« on: September 17, 2010, 03:52:27 PM »

Okay, I am trying to create a .htaccess file with the following information inside:

AddType application/x-httpd-php .php .htm .html .phtml
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^video-(.*)/(.*).html$ index.php?cmd=video&id=$1 [L]
RewriteRule ^video-submission.html$ index.php?cmd=submit [L]
RewriteRule ^all-videos.html$ index.php?cmd=video [L]

Now everything works great  when I upload this to my site (or when I use the .htaccess generator in the CPanel) and my site loads up properly but after about 5-10 minutes the .htaccess gets deleted from the site by the server and my site ceases to function properly. Can you help me or explain why this might be occurring? Is there something I am missing?
Logged
dupaco
Noobie
*
Posts: 3


View Profile
« Reply #1 on: September 17, 2010, 04:33:15 PM »

I received a reply from support and they are telling me I am deleting this file?! I use my FTP client to upload this .htaccess file (I have even tried the .htaccess uploader within the CPanel.) Then I do not touch anything...5-10 minutes later the .htaccess file has disappeared.
Logged
sawanbanna
Administrator
Experienced Member
*****
Posts: 7607



View Profile WWW
« Reply #2 on: September 20, 2010, 08:17:01 PM »

try to change different CHMOD on .htaccess file it maybe just hidden file...as far as I know I I don't have any problem at all, are you on 50webs.com or 50webs.net paid server?

sorry for late reply...
Logged

Best Regards,
sawanbanna
50Webs Support Volunteer

-="DO NOT ADJUST YOUR MIND, THERE IS A FAULT IN REALITY"=-
freshwire
Global Moderators
Experienced Member
*****
Posts: 6072



View Profile WWW
« Reply #3 on: September 25, 2010, 12:08:20 AM »

Hello.

If you are using an FTP client then by default the .htaccess file will be hidden. When uploading the file it is visible but once the client refreshes the file list it will be hidden.

Can you confirm that the file is actually deleted rather than just hidden? If it is deleted can I ask in which directory are you placing the file? Are you using any premade PHP software that could be affecting it?

Regards, Jonathan.
Logged

Jonathan | 50Webs Support Volunteer
yangping55
Members
**
Posts: 80


View Profile
« Reply #4 on: August 01, 2017, 02:28:44 AM »

http://www.birkenstockoutletstore.us.com
http://www.yeezy-boost350v2.us.com
http://www.pandoracharmsuk.uk
http://www.toms.in.net
http://www.coachfactoryonlineoutlet.com.co
http://www.monclerjackets-uk.co.uk
http://www.true-religionjeansoutlet.us.com
http://www.coachhandbagsoutlet.us.com
http://www.nikestoreuk.me.uk
http://www.katespadehandbags.org.uk
http://www.fendihandbags.us
http://www.nikeairmax-pascher.fr
http://www.cheapnfl-jerseyswholesale.us.com
http://www.parker-pens.us.com
http://www.birkenstockpascher.fr
http://www.hollisterclothingstore.us
http://www.longchamphandbags.me.uk
http://www.louisvuittonoutletoutlet.us.com
http://www.350yeezyboost.us.com
http://www.michaelkors-handbags.us.org
http://www.marcjacobshandbag.us.com
http://www.adidasshoes.me.uk
http://www.christianlouboutinshoesoutlets.us.com
http://www.ralphlaurensaleclearance.org.uk
http://www.outletlongchamp.us
http://www.coachoutlets.us.org
http://www.ralph-laurenoutlet.com.co
http://www.birkenstocks.us
http://www.nikefreerun.name
http://www.miamiheatjerseys.us
http://www.nfljerseyscheapwholesale.us.com
http://www.adidas-superstar.fr
http://www.ralphlaurenoutlet.us.org
http://www.mbtshoes.in.net
http://www.adidasnmd.us.org
http://www.coach-outlet.in.net
http://www.outletmichaelkors.us.com
http://www.nikeroshe.us
http://www.nfljerseyscheap.in.net
http://www.mulberry-bags.me.uk
http://www.chiflatiron.in.net
http://www.valentinoshoesoutlets.us.com
http://www.valentino.in.net
http://www.hermesoutletonline.us
http://www.coachoutlets.in.net
http://www.christianlouboutinshoes.us.org
http://www.moncleroutlet.in.net
http://www.discountoakleysunglassessale.us.com
http://www.coachfactoryoutletstore.in.net
http://www.christianlouboutinoutlet.us
http://www.yeezyboost.us.com
http://www.pandorasoldes.fr
http://www.longchamphandbags.us
2017.8.1yangping
Logged
chanyuan
Members
**
Posts: 46


View Profile
« Reply #5 on: January 20, 2018, 06:49:41 AM »

chanyuan2018.01.20  vvvvv
http://www.ralphlaurenpolo-outlet.us.com
http://www.pandorajewelryoutlet.us.com
http://www.uggsoutletusa.us.com
http://www.uggsoutlet-boots.us.com
http://www.nfljerseysus.us.com
http://www.uggbootsclearance.us
http://www.canadagooseoutletinc.us.com
http://www.coachoutlet-store.eu.com
http://www.toryburch.com.co
http://www.christianlouboutin-outlet.us.org
http://www.oakleysunglassescheapoutlet.us.com
http://www.toryburchoutletstores.us.org
http://www.adidas-wings.in.net
http://www.michae-kors-outlet.ca
http://www.ralphlauren-poloshirts.us.com
http://www.jordanshoesfactory.us.com
http://www.montblancpenss.us.com
http://www.cheap-nfljerseyschina.us.com
http://www.fitflopsoutletsale.com
http://www.toryburchoutlet-online.us.com
http://www.coachoutletcoachoutletonline.us.com
http://www.christianlouboutin-outletsale.us.com
http://www.michaelkorshandbagsclearancestore.us.com
http://www.canadiangooseoutlet.us.com
http://www.swarovskioutletstore.us.com
http://www.coachoutletcoupons.us.com
http://www.canadagooseoutletstoress.us.com
http://www.truereligionoutletclearance.us.com
http://www.eccoshoesoutlet.us.com
http://www.coachoutletstoreoutlet.us.com
http://www.uggoutlets.ca
http://www.katespadeoutletonlinestores.us.com
http://www.canada--goose.ca
http://www.longchampoutlet1.us.com
http://www.polooutletfactory.us.com
http://www.canadiangoosejackets.us.com
http://www.coachoutletfactoryshop.us.com
http://www.canadagooseoutletstoresale.us.com
http://www.oakleysunglasses-clearance.us.com
http://www.coach-factoryoutlets.us.org
http://www.cheap-jordanshoes.us.com
http://www.canadagoosesoutletstore.com
http://www.canadagooseoutletoutlet.us.com
http://www.montblanc-pensoutlet.us.com
http://www.futbol-baratas.com
http://www.nikeairmax-90.me.uk
http://www.coachoutletclearanceonline.us.com
http://www.uggsbootsclearance.us.org
http://www.airmax90uk.co.uk
http://www.oakleysunglassesoak.us.com
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!